2020-09-29 11:15:29 +03:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package helloworld;
|
2021-10-27 01:24:35 +03:00
|
|
|
option go_package = "go.unistack.org/micro-tests/client/grpc/proto;helloworld";
|
2020-09-29 11:15:29 +03:00
|
|
|
|
|
|
|
service Test {
|
|
|
|
rpc Call(Request) returns (Response) {};
|
|
|
|
rpc Stream(stream Request) returns (stream Response) {};
|
|
|
|
}
|
|
|
|
|
|
|
|
message Request {
|
|
|
|
string uuid = 1;
|
|
|
|
string name = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Response {
|
|
|
|
string msg = 1;
|
|
|
|
}
|