Documentation
¶
Overview ¶
Package s3storage provides AWS S3 storage implementation.
Index ¶
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
}
S3Storage implements storage interface for AWS S3.
func NewS3Storage ¶
func NewS3Storage(ctx context.Context, region string, endpoint string, bucket string, path string) (*S3Storage, error)
NewS3Storage creates a new S3Storage. The context is used for AWS SDK configuration loading and may respect timeout/cancellation.
func (*S3Storage) CreateBucket ¶
CreateBucket creates the bucket.
Click to show internal directories.
Click to hide internal directories.