20 lines
270 B
Protocol Buffer
20 lines
270 B
Protocol Buffer
|
|
||
|
option cc_generic_services = true;
|
||
|
|
||
|
package Messages;
|
||
|
|
||
|
message PingRequest
|
||
|
{
|
||
|
optional string text = 1;
|
||
|
}
|
||
|
|
||
|
message PingReply
|
||
|
{
|
||
|
optional string text = 1;
|
||
|
}
|
||
|
|
||
|
service PingService
|
||
|
{
|
||
|
rpc Ping(PingRequest) returns (PingReply);
|
||
|
rpc Ping2(PingRequest) returns (PingReply);
|
||
|
}
|