This commit is contained in:
insanity@loafle.com 2017-06-27 15:56:50 +09:00
parent a9cd891a8c
commit a009f0b18d
2 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,10 @@ message Empty {}
service EchoService { service EchoService {
rpc Echo(stream EchoRequest) returns (stream EchoResponse) { rpc Echo(stream EchoRequest) returns (stream EchoResponse) {
option (google.api.http) = {post: "/echo", body: "*"}; option (google.api.http) = {
post: "/echo"
body: "*"
};
} }
rpc Stream(Empty) returns (stream EchoResponse) { rpc Stream(Empty) returns (stream EchoResponse) {
option (google.api.http) = {get: "/echo"}; option (google.api.http) = {get: "/echo"};

View File

@ -1 +0,0 @@
package gwrpc