Documentation ¶
Index ¶
- type Config
- type S3Storage
- func (storage *S3Storage) BasePath() string
- func (storage *S3Storage) CopyObject(ctx context.Context, from string, to string) error
- func (storage *S3Storage) DeleteObject(ctx context.Context, key string) error
- func (storage *S3Storage) DeleteObjectsWithPrefix(ctx context.Context, prefix string) (err error)
- func (storage *S3Storage) GetObject(ctx context.Context, key string) (io.ReadCloser, error)
- func (storage *S3Storage) GetObjectSize(ctx context.Context, key string) (int64, error)
- func (storage *S3Storage) PutObject(ctx context.Context, key string, contentType string, size int64, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Storage ¶
type S3Storage struct {
// contains filtered or unexported fields
}
func NewS3Storage ¶
func (*S3Storage) CopyObject ¶
func (*S3Storage) DeleteObject ¶
func (*S3Storage) DeleteObjectsWithPrefix ¶
func (*S3Storage) GetObjectSize ¶
Click to show internal directories.
Click to hide internal directories.