Documentation ¶
Index ¶
- Variables
- type SFTPClient
- func (c *SFTPClient) CreateDirectory(path string) error
- func (c *SFTPClient) DeleteDirectory(path string) error
- func (c *SFTPClient) DeleteFile(path string) error
- func (c *SFTPClient) Exist(path string) (bool, error)
- func (c *SFTPClient) Get(remoteFile string) (*bytes.Buffer, error)
- func (c *SFTPClient) IsDir(path string) (bool, error)
- func (c *SFTPClient) IsFile(path string) (bool, error)
- func (c *SFTPClient) Put(data []byte, fpath string) error
- type SFTPConf
Constants ¶
This section is empty.
Variables ¶
View Source
var DEFAULT_KEY_EXCHANGE_ALGO = []string{"diffie-hellman-group-exchange-sha256"}
Functions ¶
This section is empty.
Types ¶
type SFTPClient ¶
func (*SFTPClient) CreateDirectory ¶
func (c *SFTPClient) CreateDirectory(path string) error
func (*SFTPClient) DeleteDirectory ¶
func (c *SFTPClient) DeleteDirectory(path string) error
func (*SFTPClient) DeleteFile ¶ added in v0.0.51
func (c *SFTPClient) DeleteFile(path string) error
Click to show internal directories.
Click to hide internal directories.