Versions in this module Expand all Collapse all v0 v0.1.0 Nov 4, 2024 Changes in this version + type Client struct + func New(ctx context.Context, forcePathStyle bool) (*Client, error) + func (client *Client) DeleteObjects(ctx context.Context, bucket string, keys []string) error + func (client *Client) GetObject(ctx context.Context, bucket, key string) (*Object, error) + func (client *Client) GetPresignedGetURL(ctx context.Context, bucket, key string, expires time.Duration) (string, error) + func (client *Client) GetPresignedPutURL(ctx context.Context, bucket, key string, expires time.Duration) (string, error) + func (client *Client) ListObjects(ctx context.Context, bucket string, opts ...ListObjectsOption) ([]ObjectMetaData, error) + func (client *Client) PutObject(ctx context.Context, bucket, key string, body io.ReadSeeker, size int64) error + type ListObjectsOption func(*s3.ListObjectsV2Input) + func WithPrefix(prefix string) ListObjectsOption + type Object struct + Body io.ReadCloser + Size int64 + type ObjectMetaData struct + Key string + Timestamp time.Time