19 lines
335 B
Protocol Buffer
19 lines
335 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package helloworld;
|
|
option go_package = "go.unistack.org/micro-tests/client/grpc/proto;helloworld";
|
|
|
|
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;
|
|
}
|