整合admin
This commit is contained in:
parent
b73c3e89dd
commit
7934253651
@ -40,12 +40,10 @@ func (s ServiceNodeStateType) String() string {
|
||||
|
||||
// 服务节点信息,TypeId及Type都是标记同类型的节点,Name是区别该节点与其它节点的字段
|
||||
type ServiceNode struct {
|
||||
TypeId int `json:"type_id"` // 服务类型id,与Type字段功能一样, 由proto定义,gate通过该字段找到这类服务的所有节点信息
|
||||
Name string `json:"name"` // 服务名 多个同类服务依赖name区分:lobby1,lobby2,lobby3等等
|
||||
Type string `json:"type"` // 服务类型:lobby, game, gate等等
|
||||
Version string `json:"version"` // 版本号
|
||||
MinMsgId int `json:"min_msg_id"` // 能处理的最小消息id
|
||||
MaxMsgId int `json:"max_msg_id"` // 能处理的最大消息id
|
||||
TypeId int `json:"type_id"` // 服务类型id,与Type字段功能一样, 由proto定义,gate通过该字段找到这类服务的所有节点信息
|
||||
Name string `json:"name"` // 服务名 多个同类服务依赖name区分:lobby1,lobby2,lobby3等等
|
||||
Type string `json:"type"` // 服务类型:lobby, game, gate等等
|
||||
Version string `json:"version"` // 版本号
|
||||
}
|
||||
|
||||
func (s ServiceNode) EtcdKey() string {
|
||||
|
Loading…
x
Reference in New Issue
Block a user