Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectStorage ¶
type ObjectStorage interface { UploadMediaFiles(prefix, localPath string) error UploadDirectoryToS3(client *s3.S3, prefix, localPath string) error }
func NewObjectStorage ¶
func NewObjectStorage(accessKey, secretKey, endpoint, region, bucket string) (ObjectStorage, error)
Click to show internal directories.
Click to hide internal directories.