Documentation ¶
Index ¶
- func Handle(conf *Config, bucketName, pathParamKey string) (func(ctx *gin.Context), error)
- type Client
- func (cli *Client) AddFile(bucketName, name string, reader io.Reader) error
- func (cli *Client) AddFile2(bucketName, name string, data []byte) error
- func (cli *Client) DeleteFile(bucketName, name string) error
- func (cli *Client) Exists(bucketName, name string) (bool, error)
- func (cli *Client) GetFile(bucketName, name string) ([]byte, error)
- func (cli *Client) MoveFile(bucketName, from, to string) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.