Versions in this module Expand all Collapse all v1 v1.0.2 Dec 13, 2018 v1.0.1 Dec 12, 2018 Changes in this version type Config + MaxRetries int v1.0.0 Nov 1, 2018 Changes in this version + type Client struct + func Dial(hosts ...string) (*Client, error) + func DialConfig(config Config, hosts ...string) (*Client, error) + func (c *Client) Close() error + func (c *Client) Delete(path string) error + func (c *Client) Getwd() (string, error) + func (c *Client) Mkdir(path string) (string, error) + func (c *Client) OpenRawConn() (RawConn, error) + func (c *Client) ReadDir(path string) ([]os.FileInfo, error) + func (c *Client) Rename(from, to string) error + func (c *Client) Retrieve(path string, dest io.Writer) error + func (c *Client) Rmdir(path string) error + func (c *Client) Stat(path string) (os.FileInfo, error) + func (c *Client) Store(path string, src io.Reader) error + type Config struct + ActiveListenAddr string + ActiveTransfers bool + ConnectionsPerHost int + DisableEPSV bool + IPv6Lookup bool + Logger io.Writer + Password string + ServerLocation *time.Location + TLSConfig *tls.Config + TLSMode TLSMode + Timeout time.Duration + User string + type Error interface + Code func() int + Message func() string + Temporary func() bool + type RawConn interface + Close func() error + PrepareDataConn func() (func() (net.Conn, error), error) + ReadResponse func() (int, string, error) + SendCommand func(f string, args ...interface{}) (int, string, error) + type TLSMode int + const TLSExplicit + const TLSImplicit