1Panel/backend/configs/config.go
2022-11-18 14:47:40 +08:00

12 lines
354 B
Go

package configs
type ServerConfig struct {
Sqlite Sqlite `mapstructure:"sqlite"`
System System `mapstructure:"system"`
LogConfig LogConfig `mapstructure:"log"`
CORS CORS `mapstructure:"cors"`
Encrypt Encrypt `mapstructure:"encrypt"`
Csrf Csrf `mapstructure:"csrf"`
Cache Cache `mapstructure:"cache"`
}