From af5cd69f7b60c07c4830f2eca9b8b1544c7c4972 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Tue, 31 May 2022 21:08:56 +0200 Subject: set up gprc server --- proto/bot_api.proto | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 proto/bot_api.proto (limited to 'proto') 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); +} -- cgit v1.2.3