2020-08-28 23:23:40 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package testservice;
|
|
|
|
|
|
|
|
// Simple service is used to test gRPC plumbing.
|
|
|
|
service Simple {
|
|
|
|
rpc Something(Req) returns (Resp) {}
|
|
|
|
rpc Flow(Req) returns (stream Resp) {}
|
|
|
|
}
|
|
|
|
|
|
|
|
message Req {
|
|
|
|
string Datacenter = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Resp {
|
|
|
|
string ServerName = 1;
|
2020-09-11 22:52:47 +00:00
|
|
|
string Datacenter = 2;
|
2020-08-28 23:23:40 +00:00
|
|
|
}
|