You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
693 B
15 lines
693 B
package config
|
|
|
|
type Local struct {
|
|
Path string `mapstructure:"path" json:"path" yaml:"path" `
|
|
}
|
|
|
|
type Qiniu struct {
|
|
Zone string `mapstructure:"zone" json:"zone" yaml:"zone"`
|
|
Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket"`
|
|
ImgPath string `mapstructure:"img-path" json:"imgPath" yaml:"img-path"`
|
|
UseHTTPS bool `mapstructure:"use-https" json:"useHttps" yaml:"use-https"`
|
|
AccessKey string `mapstructure:"access-key" json:"accessKey" yaml:"access-key"`
|
|
SecretKey string `mapstructure:"secret-key" json:"secretKey" yaml:"secret-key"`
|
|
UseCdnDomains bool `mapstructure:"use-cdn-domains" json:"useCdnDomains" yaml:"use-cdn-domains"`
|
|
}
|