Versions in this module Expand all Collapse all v1 v1.18.0 Aug 2, 2026 Changes in this version + type Option func(*s3Options) + func WithCredentials(accessKey, secretKey string) Option + func WithEndpoint(endpoint string) Option + func WithPrefix(prefix string) Option + func WithProfile(profile string) Option + func WithRegion(region string) Option + func WithS3Client(client *s3.Client) Option + type Store struct + func New(ctx context.Context, bucketName string, opts ...Option) (*Store, error) + func (s *Store) ConcurrencyHint() int + func (s *Store) Delete(ctx context.Context, key string) error + func (s *Store) Exists(ctx context.Context, key string) (bool, error) + func (s *Store) Flush(ctx context.Context) error + func (s *Store) Get(ctx context.Context, key string) ([]byte, error) + func (s *Store) GetRange(ctx context.Context, key string, offset, length int64) ([]byte, error) + func (s *Store) List(ctx context.Context, prefix string) ([]string, error) + func (s *Store) Put(ctx context.Context, key string, data []byte) error + func (s *Store) Size(ctx context.Context, key string) (int64, error) + func (s *Store) TotalSize(ctx context.Context) (int64, error)