Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FileTransing = make(map[string]bool)
Functions ¶
func IsFileExists ¶
Types ¶
type DataTrans ¶
type DataTrans struct {
// contains filtered or unexported fields
}
func NewListener ¶
type Ssh_mirror ¶
type Ssh_mirror struct {
Sshhostname string
Sshport string
Sshuser string
Sshpasswd string
// contains filtered or unexported fields
}
func (*Ssh_mirror) CloseSftp ¶
func (s *Ssh_mirror) CloseSftp()
func (*Ssh_mirror) TransFile ¶
func (s *Ssh_mirror) TransFile(localFilePath, remoteDir string) (bool, error)
func (*Ssh_mirror) TransOrNot ¶
func (s *Ssh_mirror) TransOrNot(localFilePath, remoteDir string) (bool, error)
Click to show internal directories.
Click to hide internal directories.