powerproto/examples/greeter/apis/greeter.proto
storyicon 4f4006ee7d
chore(*): update plugin default options && add examples
Signed-off-by: storyicon <yuanchao@bilibili.com>
2021-07-28 11:57:21 +08:00

16 lines
No EOL
308 B
Protocol Buffer

syntax = "proto3";
package powerproto.examples.greeter;
option go_package = "github.com/storyicon/powerproto/examples/greeter/apis;apis";
service Greeter {
rpc SayHello (HelloRequest) returns (HelloReply);
}
message HelloRequest {
string name = 1;
}
message HelloReply {
string message = 1;
}