Versions in this module Expand all Collapse all v0 v0.1.3 Jun 27, 2025 v0.1.2 Jun 27, 2025 Changes in this version + func BucketRegion(ctx context.Context, bucket string) (string, error) + func IsNotExist(err error) bool + type Client struct + Bucket string + Client *s3.Client + func (c *Client) Get(ctx context.Context, key string) (io.ReadCloser, int64, error) + func (c *Client) GetData(ctx context.Context, key string) ([]byte, error) + func (c *Client) Put(ctx context.Context, key string, data io.Reader) error + func (c *Client) PutCond(ctx context.Context, key, etag string, data io.Reader) (written bool, _ error) + type ETagReader struct + func NewETagReader(r io.Reader) ETagReader + func (e ETagReader) ETag() string + func (e ETagReader) Read(data []byte) (int, error)