aboutsummaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/bot_api.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/proto/bot_api.proto b/proto/bot_api.proto
new file mode 100644
index 0000000..ad0ee2f
--- /dev/null
+++ b/proto/bot_api.proto
@@ -0,0 +1,15 @@
+syntax = "proto3";
+
+package grpc.planetwars.bot_api;
+
+message Hello {
+ string hello_message = 1;
+}
+
+message HelloResponse {
+ string response = 1;
+}
+
+service TestService {
+ rpc greet(Hello) returns (HelloResponse);
+}