Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
JWT properties.JWT `mapstructure:"jwt" json:"jwt" yaml:"jwt"`
Zap properties.Zap `mapstructure:"zap" json:"zap" yaml:"zap"`
Redis properties.Redis `mapstructure:"redis" json:"redis" yaml:"redis"`
Email properties.Email `mapstructure:"email" json:"email" yaml:"email"`
System properties.System `mapstructure:"system" json:"system" yaml:"system"`
Captcha properties.Captcha `mapstructure:"captcha" json:"captcha" yaml:"captcha"`
// auto
AutoCode properties.Autocode `mapstructure:"autocode" json:"autocode" yaml:"autocode"`
// gorm
Mysql properties.Mysql `mapstructure:"mysql" json:"mysql" yaml:"mysql"`
Pgsql properties.Pgsql `mapstructure:"pgsql" json:"pgsql" yaml:"pgsql"`
Oracle properties.Oracle `mapstructure:"oracle" json:"oracle" yaml:"oracle"`
DBList []properties.SpecializedDB `mapstructure:"db-list" json:"db-list" yaml:"db-list"`
// oss
Local properties.Local `mapstructure:"local" json:"local" yaml:"local"`
Qiniu properties.Qiniu `mapstructure:"qiniu" json:"qiniu" yaml:"qiniu"`
AliyunOSS properties.AliyunOSS `mapstructure:"aliyun-oss" json:"aliyun-oss" yaml:"aliyun-oss"`
HuaWeiObs properties.HuaWeiObs `mapstructure:"hua-wei-obs" json:"hua-wei-obs" yaml:"hua-wei-obs"`
TencentCOS properties.TencentCOS `mapstructure:"tencent-cos" json:"tencent-cos" yaml:"tencent-cos"`
AwsS3 properties.AwsS3 `mapstructure:"aws-s3" json:"aws-s3" yaml:"aws-s3"`
Excel properties.Excel `mapstructure:"excel" json:"excel" yaml:"excel"`
Timer properties.Timer `mapstructure:"timer" json:"timer" yaml:"timer"`
// 跨域配置
Cors properties.CORS `mapstructure:"cors" json:"cors" yaml:"cors"`
}
Click to show internal directories.
Click to hide internal directories.