summaryrefslogtreecommitdiff
path: root/proto/helloworld.proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto/helloworld.proto')
-rw-r--r--proto/helloworld.proto14
1 files changed, 14 insertions, 0 deletions
diff --git a/proto/helloworld.proto b/proto/helloworld.proto
new file mode 100644
index 0000000..949b755
--- /dev/null
+++ b/proto/helloworld.proto
@@ -0,0 +1,14 @@
+syntax = "proto3";
+package helloworld;
+
+service Greeter {
+ rpc SayHello (HelloRequest) returns (HelloReply);
+}
+
+message HelloRequest {
+ string name = 1;
+}
+
+message HelloReply {
+ string message = 1;
+}