feat: Implement game opinion functionality, update authentication to store username in token, and protect user list with a mutex.

This commit is contained in:
2025-12-02 20:30:10 +01:00
parent 3ecc971e8f
commit f30af57934
3 changed files with 70 additions and 12 deletions
+6 -1
View File
@@ -64,7 +64,12 @@ service AuthService {
message GameRequest { string title = 1; }
message AddOpinionRequest {
string game_title = 1;
bool would_play = 2;
}
service MainService {
rpc GetGame(GameRequest) returns (Game);
rpc AddOpinion(GameRequest) returns (Person);
rpc AddOpinion(AddOpinionRequest) returns (Person);
}