1Panel/backend/configs/config.go
2022-08-17 09:37:30 +08:00

16 lines
532 B
Go

package configs
type ServerConfig struct {
Sqlite Sqlite `mapstructure:"sqlite"`
Mysql Mysql `mapstructure:"mysql"`
System System `mapstructure:"system"`
LogConfig LogConfig `mapstructure:"log"`
JWT JWT `mapstructure:"jwt"`
Session Session `mapstructure:"session"`
CORS CORS `mapstructure:"cors"`
Captcha Captcha `mapstructure:"captcha"`
Encrypt Encrypt `mapstructure:"encrypt"`
Csrf Csrf `mapstructure:"csrf"`
Cache Cache `mapstructure:"cache"`
}