Documentation
¶
Index ¶
- type Client
- func (c *Client) ChangeDir(ctx context.Context, path string) error
- func (c *Client) CurrentDir(ctx context.Context) (string, error)
- func (c *Client) Delete(ctx context.Context, path string) error
- func (c *Client) Mkdir(ctx context.Context, path string) error
- func (c *Client) MkdirAll(ctx context.Context, path string) error
- func (c *Client) Quit(ctx context.Context) error
- func (c *Client) RawClient() *ftp.ServerConn
- func (c *Client) Retrieve(ctx context.Context, path string) (*File, error)
- func (c *Client) Store(ctx context.Context, path string, reader io.Reader, offset uint64) error
- func (c *Client) StoreBytes(ctx context.Context, path string, data []byte) error
- func (c *Client) StoreString(ctx context.Context, path string, data string) error
- type Config
- type File
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
}
func (*Client) RawClient ¶
func (c *Client) RawClient() *ftp.ServerConn
func (*Client) StoreBytes ¶
type Config ¶
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
Click to show internal directories.
Click to hide internal directories.