Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSFTPClient ¶
Types ¶
type SshSession ¶
type SshSession interface { Stat(path string) (FileStat, error) SendDir(output chan<- string, src, dst string) error SendFile(progress p.ProgressBarReaderWriter, src, dst string) error Exec(output chan<- string, cmd string, param ...string) error ReceiveRemoteFile(progress p.ProgressBarReaderWriter, remoteSrc, dst string) error ReceiveRemoteDir(output chan<- string, remoteDir, dst string) error RemoveFile(path string) error Mkdir(path string) error RemoveDirectory(path string) error RemoveAll(srcdir string) error Close() }
func ConnectWithPassword ¶
type StatusError ¶
type StatusError struct { Code uint32 // contains filtered or unexported fields }
func (*StatusError) Error ¶
func (s *StatusError) Error() string
Click to show internal directories.
Click to hide internal directories.