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.
19 lines
960 B
19 lines
960 B
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"`
|
|
Email Email `mapstructure:"email" json:"email" yaml:"email"`
|
|
Casbin Casbin `mapstructure:"casbin" json:"casbin" yaml:"casbin"`
|
|
System System `mapstructure:"system" json:"system" yaml:"system"`
|
|
Captcha Captcha `mapstructure:"captcha" json:"captcha" yaml:"captcha"`
|
|
// gorm
|
|
Mysql Mysql `mapstructure:"mysql" json:"mysql" yaml:"mysql"`
|
|
Sqlite Sqlite `mapstructure:"sqlite" json:"sqlite" yaml:"sqlite"`
|
|
Sqlserver Sqlserver `mapstructure:"sqlserver" json:"sqlserver" yaml:"sqlserver"`
|
|
Postgresql Postgresql `mapstructure:"postgresql" json:"postgresql" yaml:"postgresql"`
|
|
// oss
|
|
Local Local `mapstructure:"local" json:"local" yaml:"local"`
|
|
Qiniu Qiniu `mapstructure:"qiniu" json:"qiniu" yaml:"qiniu"`
|
|
}
|