Documentation
¶
Index ¶
- type Client
- func (c *Client) DeleteObject(ctx context.Context, key string) error
- func (c *Client) GetObject(ctx context.Context, key string) ([]byte, error)
- func (c *Client) PresignGetObject(ctx context.Context, key string) (string, error)
- func (c *Client) UploadObject(ctx context.Context, key string, fileType string, content io.Reader) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) DeleteObject ¶ added in v0.22.0
DeleteObject deletes an object in S3.
func (*Client) PresignGetObject ¶ added in v0.22.0
PresignGetObject presigns an object in S3.
Click to show internal directories.
Click to hide internal directories.