Documentation
¶
Overview ¶
Copyright (C) 2017 Verizon. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
View Source
const NS_SFTP_ERROR = "nsSFTP error: "
View Source
const (
SFTP_CONN_TYPE = "SFTPConnection"
)
Variables ¶
View Source
var ( NsSFTP = stats.New("nsSFTP") Connect = NsSFTP.NewCounter("Connect") Disconnect = NsSFTP.NewCounter("Disconnect") Mkdir = NsSFTP.NewCounter("Mkdir") Store = NsSFTP.NewCounter("Store") ErrConnect = NsSFTP.NewCounter("ErrConnect") ErrDisconnect = NsSFTP.NewCounter("ErrDisconnect") ErrMkdir = NsSFTP.NewCounter("ErrMkdir") ErrStore = NsSFTP.NewCounter("ErrStore") )
View Source
var (
NsSFTPConnectionLimit, _ = config.GetInt("NS_SFTP_CONNECTION_LIMIT", 3)
)
Functions ¶
This section is empty.
Types ¶
type Destination ¶
type NsSFTPModule ¶
type NsSFTPModule struct {
Limit int
}
func NewNsSFTPModule ¶
func NewNsSFTPModule() *NsSFTPModule
Click to show internal directories.
Click to hide internal directories.