14 lines
279 B
Protocol Buffer
14 lines
279 B
Protocol Buffer
syntax = "proto3";
|
|
package pingpong;
|
|
option go_package = "github.com/occlum/demos/grpc_pingpong/pingpong";
|
|
|
|
message PingPongMesg {
|
|
string ping = 1;
|
|
string pong = 2;
|
|
string timestamp = 3;
|
|
}
|
|
|
|
service PingPongService {
|
|
rpc PingPong(PingPongMesg) returns (PingPongMesg) {}
|
|
}
|