feat:完善项目
This commit is contained in:
@ -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"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user