diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-05-31 21:08:56 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-05-31 21:08:56 +0200 |
commit | af5cd69f7b60c07c4830f2eca9b8b1544c7c4972 (patch) | |
tree | 8abe8829f8517299002a72bfeac84cd266f5d550 /proto | |
parent | ef19e3a9e79c85753f75b8f87a06b67c574a72ee (diff) | |
download | planetwars.dev-af5cd69f7b60c07c4830f2eca9b8b1544c7c4972.tar.xz planetwars.dev-af5cd69f7b60c07c4830f2eca9b8b1544c7c4972.zip |
set up gprc server
Diffstat (limited to 'proto')
-rw-r--r-- | proto/bot_api.proto | 15 |
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); +} |