git://git.halfball.org
/
demo-grpc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5739829
)
Protobuf definition with service and message
author
Julien Andrieux
<julien@pantomath.io>
Wed, 4 Oct 2017 21:46:06 +0000
(23:46 +0200)
committer
Julien Andrieux
<julien@pantomath.io>
Thu, 5 Oct 2017 10:51:35 +0000
(12:51 +0200)
api/api.proto
[new file with mode: 0644]
patch
|
blob
diff --git a/api/api.proto
b/api/api.proto
new file mode 100644
(file)
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