17 lines
280 B
Protocol Buffer
17 lines
280 B
Protocol Buffer
syntax = "proto3";
|
|
package discovery;
|
|
|
|
import "base_proto.proto";
|
|
|
|
message Discovery {
|
|
string id = 1;
|
|
base.PeerInfo peer = 2;
|
|
/// response port for current listening port(udp for now)
|
|
int32 port = 3;
|
|
}
|
|
|
|
message DiscoveryBack {
|
|
string id = 1;
|
|
base.PeerInfo peer = 2;
|
|
}
|