Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublicKeyFile ¶
func PublicKeyFile(file string) (ssh.AuthMethod, error)
Types ¶
type CopyFile ¶
type CopyFile struct { Src string Dest string Mode string Force bool Backup bool User string Group string }
func NewCopyFile ¶
func NewCopyFile() *CopyFile
type SftpClient ¶
func Sftpinit ¶
func Sftpinit() *SftpClient
func (*SftpClient) Copy ¶
func (c *SftpClient) Copy(src, dst string)
Click to show internal directories.
Click to hide internal directories.