Protobuf definition with service and message
authorJulien Andrieux <julien@pantomath.io>
Wed, 4 Oct 2017 21:46:06 +0000 (23:46 +0200)
committerJulien Andrieux <julien@pantomath.io>
Thu, 5 Oct 2017 10:51:35 +0000 (12:51 +0200)
api/api.proto [new file with mode: 0644]

diff --git a/api/api.proto b/api/api.proto
new file mode 100644 (file)
index 0000000..023ab49
--- /dev/null
@@ -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