Documentation
¶
Index ¶
- type Client
- func (c *Client) CopyFile(ctx context.Context, sourceKey string, destinationKey string, overwrite bool) error
- func (c *Client) DeleteFile(ctx context.Context, key string) error
- func (c *Client) DownloadFile(ctx context.Context, key string) (io.ReadCloser, string, int64, error)
- func (c *Client) IsFileExists(ctx context.Context, key string) (bool, error)
- func (c *Client) MoveFile(ctx context.Context, sourceKey string, destinationKey string, overwrite bool) error
- func (c *Client) UploadFile(ctx context.Context, file io.Reader, key string) (string, error)
- func (c *Client) UploadLocalFile(ctx context.Context, file string, key string) (string, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { urlhandler.Handler // contains filtered or unexported fields }
func (*Client) DownloadFile ¶
func (*Client) IsFileExists ¶
func (*Client) UploadFile ¶
Click to show internal directories.
Click to hide internal directories.