Documentation ¶
Overview ¶
Package filestorage abstracts the file storage source.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
Downloader is an interface for downloading files from Cloud storages.
func NewS3PublicDownloader ¶
func NewS3PublicDownloader(region, bucket, key string) Downloader
NewS3PublicDownloader creates an instance of S3Downloader to a public AWS S3.
type S3Downloader ¶
type S3Downloader struct {
// contains filtered or unexported fields
}
S3Downloader implements Downloader for AWS S3.
Click to show internal directories.
Click to hide internal directories.