Documentation
¶
Index ¶
- type Sshtool
- func (p *Sshtool) Close() error
- func (p *Sshtool) Copy(r io.Reader, remotePath string, permissions string, size int64, verbose bool) error
- func (p *Sshtool) CopyFile(fileReader io.Reader, remotePath string, permissions string, verbose bool) error
- func (p *Sshtool) Exec(cmd string, verbose bool) error
- func (p *Sshtool) Mkdir(path string, verbose bool) error
- func (p *Sshtool) OsType(verbose bool) (string, error)
- func (p *Sshtool) Query(cmd string, verbose bool) (string, error)
- func (p *Sshtool) RmDir(remoteDir string, verbose bool) error
- func (p *Sshtool) Sh(shFilePath string, verbose bool) 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.