peer_online_state: serve online state

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2022-07-26 23:03:30 +08:00
1 parent 8c477c8cd0
commit a4940f4634
3 files changed
+62 -8

No files matched your search

+12
View File
@@ -148,6 +148,16 @@ message PeerDiscovery {
string misc = 7;
}
message OnlineRequest {
string id = 1;
repeated string peers = 2;
}
message OnlineResponse {
repeated string onlines = 1;
repeated string offlines = 2;
}
message RendezvousMessage {
oneof union {
RegisterPeer register_peer = 6;
@@ -167,5 +177,7 @@ message RendezvousMessage {
TestNatRequest test_nat_request = 20;
TestNatResponse test_nat_response = 21;
PeerDiscovery peer_discovery = 22;
OnlineRequest online_request = 23;
OnlineResponse online_response = 24;
}
}