Documentation ¶
Index ¶
- Constants
- type SshClient
- func (c *SshClient) Close()
- func (c *SshClient) Connect(addr string, user string, password string, timeout ...time.Duration) (err error)
- func (c *SshClient) Exec(command string, wait ...bool) (output string, err error)
- func (c *SshClient) SendFile(localFile string, remoteFile string) (err error)
- func (c *SshClient) UseProxySocks5(proxyAddr string, proxyUser string, proxyPassword string) (err error)
- type SshExecFunc
Constants ¶
View Source
const PROXY_TYPE_SOCKS5 = "socks5"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.