2020-09-29 11:15:29 +03:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package helloworld;
|
2021-02-27 13:51:39 +03:00
|
|
|
option go_package = "github.com/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;
|
|
|
|
}
|