2021-07-07 15:13:36 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
option go_package = "lume-grpc/ping";
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|