This commit is contained in:
2025-05-31 04:17:55 +07:00
parent 49999e9e70
commit 42dc516e29
22 changed files with 513 additions and 180 deletions
+12
View File
@@ -45,6 +45,12 @@ service EveningDetective {
};
}
rpc GetGame(GetGameReq) returns (GetGameRsp) {
option (google.api.http) = {
get: "/game"
};
}
rpc GameStart(GameStartReq) returns (GameStartRsp) {
option (google.api.http) = {
post: "/game/start",
@@ -137,6 +143,12 @@ message Action {
repeated Application applications = 5;
}
message GetGameReq {}
message GetGameRsp {
string state = 1;
}
message GameStartReq {}
message GameStartRsp {}