grpc-ping/ping/ping.proto

20 lines
278 B
Protocol Buffer
Raw Normal View History

2021-07-07 15:13:36 +00:00
syntax = "proto3";
2021-07-11 18:42:04 +00:00
option go_package = "grpc-ping/ping";
2021-07-07 15:13:36 +00:00
package ping;
service ping {
rpc Ping(PingRequest) returns (PingResponse) {}
}
message PingRequest {
2021-07-11 18:41:25 +00:00
uint64 seq = 1;
2021-07-07 15:13:36 +00:00
string data = 2;
}
message PingResponse {
2021-07-11 18:41:25 +00:00
uint64 seq = 1;
2021-07-07 15:13:36 +00:00
string data = 2;
}