Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OSSConfig OSS OSS_PREFIX string DEFAULT Default )
Functions ¶
Types ¶
type OSS ¶
type OSS struct {
Endpoint string `yaml:"endpoint"`
AccessKey string `yaml:"accessKey"`
SecretKey string `yaml:"secretKey"`
Region string `yaml:"region"`
Bucket string `yaml:"bucket"`
// 如果是使用 minio,并且没有使用 https,需要设置为 false
UseSsl *bool `yaml:"useSsl"`
// 如果是使用 minio,需要设置为 true
HostnameImmutable *bool `yaml:"hostnameImmutable"`
}
Click to show internal directories.
Click to hide internal directories.