Documentation
¶
Index ¶
Constants ¶
View Source
const ( ZoneHuanan = "huanan" ZoneHuadong = "huadong" ZoneHuabei = "huabei" )
Variables ¶
View Source
var ( ZoneMap = map[string]*storage.Region{ "huanan": &storage.ZoneHuanan, "huadong": &storage.ZoneHuadong, "huabei": &storage.ZoneHuabei, } )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AccessKey string `json:"access_key"` SecretKey string `json:"secret_key"` Bucket string `json:"bucket"` // 空间对应机房 Zone string `json:"zone"` // 是否使用https域名 UseHTTPS bool `json:"use_https"` // 上传是否使用CDN上传加速 UseCdnDomains bool `json:"use_cdn_domains"` // 域名地址,包含http://,通过查看外链可以看到,如:http://image-c4lms-qiniu.whereabouts.icu Domain string `json:"domain"` }
Click to show internal directories.
Click to hide internal directories.