package config type Server struct { //JWT JWT `mapstructure:"jwt" json:"jwt" yaml:"jwt"` Zap Zap `mapstructure:"zap" json:"zap" yaml:"zap"` System System `mapstructure:"system" json:"system" yaml:"system"` // gorm Mysql Mysql `mapstructure:"mysql" json:"mysql" yaml:"mysql"` Mssql Mssql `mapstructure:"mssql" json:"mssql" yaml:"mssql"` Pgsql Pgsql `mapstructure:"pgsql" json:"pgsql" yaml:"pgsql"` Oracle Oracle `mapstructure:"oracle" json:"oracle" yaml:"oracle"` Sqlite Sqlite `mapstructure:"sqlite" json:"sqlite" yaml:"sqlite"` DBList []SpecializedDB `mapstructure:"db-list" json:"db-list" yaml:"db-list"` // 跨域配置 Cors CORS `mapstructure:"cors" json:"cors" yaml:"cors"` }