Documentation ¶
Index ¶
- type Client
- func (c *Client) DeleteObject(objectKey string) error
- func (c *Client) DeleteObjects(objectKeys []string) error
- func (c Client) GetBucket() string
- func (c Client) GetEndpoint() string
- func (c *Client) GetObject(objectKey string) (io.ReadCloser, error)
- func (c *Client) GetObjectToFile(objectKey, filePath string) error
- func (c *Client) GetObjectURL(objectKey string, expires int64) (url string, err error)
- func (c *Client) IsObjectExist(objectKey string) (isExist bool, err error)
- func (c *Client) ListObjects(prefix string) ([]*gooss.Object, error)
- func (c *Client) PutObject(objectName string, filePath string) (err error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) DeleteObject ¶
func (*Client) DeleteObjects ¶
func (Client) GetEndpoint ¶
func (*Client) GetObjectToFile ¶
func (*Client) GetObjectURL ¶
func (*Client) IsObjectExist ¶
Click to show internal directories.
Click to hide internal directories.