grpc-ping/ping/ping.proto

20 lines
278 B
Protocol Buffer

syntax = "proto3";
option go_package = "grpc-ping/ping";
package ping;
service ping {
rpc Ping(PingRequest) returns (PingResponse) {}
}
message PingRequest {
uint64 seq = 1;
string data = 2;
}
message PingResponse {
uint64 seq = 1;
string data = 2;
}