Display results

This commit is contained in:
Vojtěch Káně
2021-04-01 16:36:38 +02:00
parent de28e7ab8c
commit 688f87922d
6 changed files with 142 additions and 6 deletions

View File

@@ -70,6 +70,7 @@ func main() {
mux.GET("/game/:playerUid", app.game)
mux.POST("/game/:playerUid/rpc/next", app.nextQuestion)
mux.POST("/game/:playerUid/answers/:choiceUid", app.answer)
mux.GET("/results/:playerUid", app.resultsGeneral)
mux.GET("/ws/:playerUid", app.processWebSocket)