优化origin默认模式的服务发现

This commit is contained in:
boyce
2024-04-25 11:20:06 +08:00
parent 59efc05d24
commit bba5eb2929
15 changed files with 573 additions and 181 deletions

View File

@@ -12,7 +12,7 @@ message NodeInfo{
}
//Client->Master
message ServiceDiscoverReq{
message RegServiceDiscoverReq{
NodeInfo nodeInfo = 1;
}
@@ -32,4 +32,18 @@ message NodeRetireReq{
//Master->Client
message Empty{
}
}
//Client->Master
message Ping{
string NodeId = 1;
}
//Master->Client
message Pong{
bool ok = 1;
}
message UnRegServiceDiscoverReq{
string NodeId = 1;
}