Show remaining time to answer

This commit is contained in:
Vojtěch Káně
2021-04-24 12:35:56 +02:00
parent fc8a18e5bb
commit 3df6c47464
6 changed files with 39 additions and 8 deletions

View File

@@ -12,8 +12,9 @@ type Player struct {
}
type QuestionUpdate struct {
Title string `json:"title"`
Answers []Answer `json:"answers"`
Title string `json:"title"`
RemainingTime uint64 `json:"remainingTime"`
Answers []Answer `json:"answers"`
}
type Answer struct {