Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EC2RoleAwsConfig ¶
Types ¶
type CloudFront ¶
type CloudFront struct {
S3
}
func (CloudFront) GetURLTemplate ¶
func (s CloudFront) GetURLTemplate(option *media_library.Option) (path string)
GetURLTemplate get url template
func (CloudFront) Retrieve ¶
func (s CloudFront) Retrieve(url string) (file *os.File, err error)
Retrieve retrieve file content with url
func (CloudFront) Store ¶
func (s CloudFront) Store(url string, option *media_library.Option, reader io.Reader) error
Store store reader's content with url
type S3 ¶
type S3 struct {
media_library.Base
}
S3 a struct used to upload files to S3
func (S3) GetURLTemplate ¶
func (s S3) GetURLTemplate(option *media_library.Option) (path string)
GetURLTemplate get url template
Click to show internal directories.
Click to hide internal directories.