Documentation ¶ Index ¶ type Client func New(c Config) *Client func (c *Client) PresignPutObject(ctx context.Context, key string) (*PresignRequest, error) func (c *Client) PutObject(ctx context.Context, key string, content []byte) (*Object, error) type Config type Object type PresignRequest Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func New ¶ added in v0.7.0 func New(c Config) *Client func (*Client) PresignPutObject ¶ func (c *Client) PresignPutObject(ctx context.Context, key string) (*PresignRequest, error) func (*Client) PutObject ¶ func (c *Client) PutObject(ctx context.Context, key string, content []byte) (*Object, error) type Config ¶ added in v0.7.0 type Config struct { Bucket string } type Object ¶ type Object struct { Key string ETag string } type PresignRequest ¶ type PresignRequest struct { URL string } Source Files ¶ View all Source files object.go s3.go Click to show internal directories. Click to hide internal directories.