mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
优化配置结构
This commit is contained in:
@@ -41,7 +41,8 @@ type Cluster struct {
|
||||
localNodeMapService map[string]interface{} //本Node支持的服务
|
||||
localNodeInfo NodeInfo
|
||||
|
||||
localNodeServiceCfg map[string]interface{} //map[servicename]数据
|
||||
localServiceCfg map[string]interface{} //map[servicename]数据
|
||||
localNodeServiceCfg map[int]map[string]interface{} //map[nodeid]map[servicename]数据
|
||||
|
||||
mapRpc map[int] NodeRpcInfo//nodeid
|
||||
|
||||
|
||||
Reference in New Issue
Block a user