Documentation ¶
Index ¶
- type Client
- type FtpClient
- func (c *FtpClient) MakeDir(ctx context.Context, remotePath string) error
- func (c *FtpClient) Remove(ctx context.Context, remotePath string) error
- func (c *FtpClient) RemoveDir(ctx context.Context, remotePath string) error
- func (c *FtpClient) RemoveFile(ctx context.Context, remotePath string) error
- func (c *FtpClient) UploadFile(ctx context.Context, remotePath string, localPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { MakeDir(ctx context.Context, remotePath string) error RemoveDir(ctx context.Context, remotePath string) error UploadFile(ctx context.Context, remotePath string, localPath string) error RemoveFile(ctx context.Context, remotePath string) error Remove(ctx context.Context, remotePath string) error }
Click to show internal directories.
Click to hide internal directories.