Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadS3 ¶
func LoadS3(config *S3) (filestorage.FileStorager, error)
func SetDefaultAWSConfig ¶
func SetDefaultAWSConfig(fn DefaultAWSConfigFn)
Types ¶
type DefaultAWSConfigFn ¶
type S3 ¶
type S3 struct { Endpoint string `toml:"endpoint,omitempty" json:"endpoint,omitempty"` Region string `toml:"region,omitempty" json:"region,omitempty"` Key string `toml:"key,omitempty" json:"key,omitempty"` Secret string `toml:"secret,omitempty" json:"secret,omitempty"` UsePathStyle bool `toml:"usePathStyle,omitempty" json:"usePathStyle,omitempty"` }
Click to show internal directories.
Click to hide internal directories.