Documentation ¶
Overview ¶
Package s3 provides S3 (and compatible) storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Endpoint, defaults to "https://s3.amazonaws.com". Endpoint string `mapstructure:"endpoint"` // Bucket to store in. Defaults to "storage". Bucket string `mapstructure:"bucket"` // Region is the AWS region. Defaults to the default US region. Region string `mapstructure:"region"` // Access key. Access string `mapstructure:"access"` // Secret key. Secret string `mapstructure:"secret"` // Timeout for read operations. Timeout time.Duration `mapstructure:"timeout"` }
Config for S3 storage.
Click to show internal directories.
Click to hide internal directories.