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.

17 lines
776 B

  1. package config
  2. type Server struct {
  3. JWT JWT `mapstructure:"jwt" json:"jwt" yaml:"jwt"`
  4. Zap Zap `mapstructure:"zap" json:"zap" yaml:"zap"`
  5. Redis Redis `mapstructure:"redis" json:"redis" yaml:"redis"`
  6. Email Email `mapstructure:"email" json:"email" yaml:"email"`
  7. Casbin Casbin `mapstructure:"casbin" json:"casbin" yaml:"casbin"`
  8. System System `mapstructure:"system" json:"system" yaml:"system"`
  9. Captcha Captcha `mapstructure:"captcha" json:"captcha" yaml:"captcha"`
  10. // gorm
  11. Mysql Mysql `mapstructure:"mysql" json:"mysql" yaml:"mysql"`
  12. // oss
  13. Local Local `mapstructure:"local" json:"local" yaml:"local"`
  14. Qiniu Qiniu `mapstructure:"qiniu" json:"qiniu" yaml:"qiniu"`
  15. Excel Excel `mapstructure:"excel" json:"excel" yaml:"excel"`
  16. }