From: Julien Andrieux Date: Wed, 4 Oct 2017 21:46:06 +0000 (+0200) Subject: Protobuf definition with service and message X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=b7e88c6aba244e1dc66582e24060572d578e259f;p=demo-grpc.git Protobuf definition with service and message --- diff --git a/api/api.proto b/api/api.proto new file mode 100644 index 0000000..023ab49 --- /dev/null +++ b/api/api.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; +package api; + +message PingMessage { + string greeting = 1; +} + +service Ping { + rpc SayHello(PingMessage) returns (PingMessage) {} +} \ No newline at end of file