Further consolidate the libraries
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user