Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a wrapper for sftp.Client that handles ssh connection. Close method closes both sftp and ssh connections.
func (*Client) Close ¶
Close closes both sftp and ssh connections. Must be called after Connect. After Close(), other methods should not be called.
Click to show internal directories.
Click to hide internal directories.