Documentation
¶
Index ¶
- type Cli
- func (c *Cli) Close() error
- func (c *Cli) Connect() (*Cli, error)
- func (c *Cli) DownloadFile(remotePath string, localDir string, localFileName string) error
- func (c *Cli) GetAuth() ([]gossh.AuthMethod, error)
- func (c Cli) Run(command string) (string, error)
- func (c Cli) UploadFile(localFilePath string, remotePath string) error
- func (c Cli) UploadFileAndProgress(srcFile io.Reader, remoteFile string, ch chan<- int64) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.