mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-21 04:04:43 +08:00
增加邻居master服务发现功能
This commit is contained in:
@@ -17,13 +17,12 @@ message ServiceDiscoverReq{
|
||||
|
||||
//Master->Client
|
||||
message SubscribeDiscoverNotify{
|
||||
bool IsFull = 1;
|
||||
int32 DelNodeId = 2;
|
||||
repeated NodeInfo nodeInfo = 3;
|
||||
int32 MasterNodeId = 1;
|
||||
bool IsFull = 2;
|
||||
int32 DelNodeId = 3;
|
||||
repeated NodeInfo nodeInfo = 4;
|
||||
}
|
||||
|
||||
|
||||
//Master->Client
|
||||
message ServiceDiscoverRes{
|
||||
repeated NodeInfo nodeInfo = 1;
|
||||
message Empty{
|
||||
}
|
||||
Reference in New Issue
Block a user