feat:完善项目

This commit is contained in:
henry
2021-11-04 15:15:11 +08:00
parent 288c74dc41
commit 153df336b8
18 changed files with 898 additions and 76 deletions

View File

@ -1,9 +1,8 @@
package config
var (
SettingInfo = new(Setting)
RPCServerSettingInfo = new(RPCServerSetting)
SettingAreaInfo = make(map[string]map[string]string, 0)
SettingInfo = new(Setting)
SettingAreaInfo = make(map[string]map[string]string, 0)
)
// Mysql 配置
@ -107,9 +106,3 @@ type Setting struct {
Level string `yaml:"level"`
}
}
// RPCServerSetting 配置
type RPCServerSetting struct {
Key int `yaml:"key"`
Servers map[string]*RPCServer `yaml:"servers"`
}