12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- package conf
- var ExtConfig Extend
- // Extend 扩展配置
- //
- // extend:
- // demo:
- // name: demo-name
- //
- // 使用方法: config.ExtConfig......即可!!
- type Extend struct {
- SubMail SubMail `yaml:"subMail"`
- Qiniu Qiniu `yaml:"qiniu"`
- Applet Applet `yaml:"applet"`
- Nats Nats `yaml:"nats"`
- Amap Amap `yaml:"amap"`
- Apk Apk `yaml:"apk"`
- Weian Weian `yaml:"weian"`
- OpenApi OpenApi `yaml:"openapi"`
- }
- type SubMail struct {
- Appid string `json:"appid"`
- Signature string `json:"signature"`
- }
- type Qiniu struct {
- // Endpoint 访问域名
- Endpoint string `json:"endpoint"`
- // AccessKeyID AK `json:""
- AccessKeyID string `json:"accessKeyID"`
- // AccessKeySecret AKS `json:""
- AccessKeySecret string `json:"accessKeySecret"`
- // BucketName 桶名称 `json:""
- BucketName string `json:"bucketName"`
- }
- type Applet struct {
- Appid string `json:"appid"`
- AppSecret string `json:"appSecret"`
- WaybillUrl string `json:"waybillUrl"`
- }
- type Nats struct {
- Url string `json:"url"`
- }
- type Amap struct {
- Key string `json:"key"`
- }
- type Apk struct {
- Path string `json:"path"`
- }
- type Weian struct {
- OrderInfoUrl string `json:"orderInfoUrl"`
- }
- type OpenApi struct {
- ApiKey string `json:"apiKey"`
- Secret string `json:"secret"`
- }
|