This commit is contained in:
XM-GO
2023-08-22 15:17:14 +08:00
parent 85f4f328f4
commit 4344771547
143 changed files with 13004 additions and 6957 deletions

View File

@@ -34,15 +34,18 @@ var startConfigParam *CmdConfigParam
// yaml配置文件映射对象
type Config struct {
App *App `yaml:"app"`
Server *Server `yaml:"server"`
Jwt *Jwt `yaml:"jwt"`
Redis *Redis `yaml:"redis"`
Mysql *Mysql `yaml:"mysql"`
Postgresql *Postgresql `yaml:"postgresql"`
Casbin *Casbin `yaml:"casbin"`
Gen *Gen `yaml:"gen"`
Log *Log `yaml:"log"`
App *App `yaml:"app"`
Server *Server `yaml:"server"`
Queue *Queue `yaml:"queue"`
Jwt *Jwt `yaml:"jwt"`
Redis *Redis `yaml:"redis"`
Mysql *Mysql `yaml:"mysql"`
Oss *Oss `yaml:"oss"`
Taos *Taos `yaml:"taos"`
Mqtt *Mqtt `yaml:"mqtt"`
Casbin *Casbin `yaml:"casbin"`
Gen *Gen `yaml:"gen"`
Log *Log `yaml:"log"`
}
// 配置文件内容校验