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.
22 lines
1.1 KiB
22 lines
1.1 KiB
6 months ago
|
package config
|
||
|
|
||
|
type Server struct {
|
||
|
JWT JWT `mapstructure:"jwt" json:"jwt" yaml:"jwt"`
|
||
|
Zap Zap `mapstructure:"zap" json:"zap" yaml:"zap"`
|
||
|
Redis Redis `mapstructure:"redis" json:"redis" yaml:"redis"`
|
||
|
System System `mapstructure:"system" json:"system" yaml:"system"`
|
||
|
// gorm
|
||
|
Mysql Mysql `mapstructure:"mysql" json:"mysql" yaml:"mysql"`
|
||
|
GormSettings GormSettings `mapstructure:"gorm-settings" json:"gormSettings" yaml:"gorm-settings"`
|
||
|
// oss
|
||
|
Minio Minio `mapstructure:"minio" json:"minio" yaml:"minio"`
|
||
|
Local Local `mapstructure:"local" json:"local" yaml:"local"`
|
||
|
Qiniu Qiniu `mapstructure:"qiniu" json:"qiniu" yaml:"qiniu"`
|
||
|
Timer Timer `mapstructure:"timer" json:"timer" yaml:"timer"`
|
||
|
JPush JPush `mapstructure:"jpush" json:"jpush" yaml:"jpush"`
|
||
|
Paypal Paypal `mapstructure:"paypal" json:"paypal" yaml:"paypal"`
|
||
|
Tools Tools `mapstructure:"tools" json:"tools" yaml:"tools"`
|
||
|
Dysmsapi Dysmsapi `mapstructure:"dysmsapi" json:"dysmsapi" yaml:"dysmsapi"`
|
||
|
Payment Payment `mapstructure:"payment" json:"payment" yaml:"payment"`
|
||
|
}
|