Documentation ¶
Index ¶
- type S3Store
- func (s *S3Store) Get(key string) ([]byte, error)
- func (s *S3Store) GetWithCtx(ctx context.Context, key string) ([]byte, error)
- func (s *S3Store) List(prefix string) ([]string, error)
- func (s *S3Store) ListWithCtx(ctx context.Context, prefix string) ([]string, error)
- func (s *S3Store) Put(key string, body []byte) (err error)
- func (s *S3Store) PutRaw(ctx context.Context, params *s3.PutObjectInput) (err error)
- func (s *S3Store) PutWithContentType(ctx context.Context, key string, body []byte, contentType string) (err error)
- func (s *S3Store) PutWithMetadata(ctx context.Context, key string, body []byte, metadata map[string]string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Store ¶
type S3Store struct { Bucket string Uploader *manager.Uploader Downloader *manager.Downloader Client *s3.Client }
func NewS3Store ¶
func (*S3Store) GetWithCtx ¶
func (*S3Store) ListWithCtx ¶ added in v0.0.5
func (*S3Store) PutWithContentType ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.