service-trait-example/protos/hello.proto

14 lines
196 B
Protocol Buffer

syntax = "proto3";
package hello;
service HelloWorld {
rpc SayHello(HelloRequest) returns (HelloReply);
}
message HelloRequest {
string name = 1;
}
message HelloReply {
string text = 1;
}