micro/service/grpc/examples/greeter/gateway/proto/hello/hello.proto

23 lines
291 B
Protocol Buffer
Raw Normal View History

2019-06-03 20:44:43 +03:00
syntax = "proto3";
package greeter;
import "google/api/annotations.proto";
service Say {
rpc Hello(Request) returns (Response) {
option (google.api.http) = {
post: "/greeter/hello"
body: "*"
};
}
}
message Request {
string name = 1;
}
message Response {
string msg = 1;
}