Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudStorageConfig ¶
type CloudStorageConfig struct {
Bucket string `yaml:"bucket"` //bucket name of s3 or bos
Path string `yaml:"path"` //path in the bucket
Ak string `yaml:"ak"` //access key
Sk string `yaml:"sk"` //secrete key
Region string `yaml:"region"` //region, eg. bj
Endpoint string `yaml:"endpoint"` //endpoint, eg. s3.bj.bcebos.com
LocalCacheDir string `yaml:"localCacheDir"` //cache directory on local disk
}
func NewCloudStorageConfig ¶
func NewCloudStorageConfig() *CloudStorageConfig
Click to show internal directories.
Click to hide internal directories.