Make breaks between questions

This commit is contained in:
Vojtěch Káně
2021-04-25 14:09:08 +02:00
parent 5dae8a7ad7
commit 339af2ebca
5 changed files with 71 additions and 21 deletions

View File

@@ -3,6 +3,7 @@ package rtcomm
type StateUpdate struct {
Players []Player `json:"players,omitempty"`
Question *QuestionUpdate `json:"question,omitempty"`
Break *BreakUpdate `json:"break,omitempty"`
Results bool `json:"results,omitempty"`
}
@@ -21,3 +22,7 @@ type Answer struct {
ID string `json:"id"`
Title string `json:"title"`
}
type BreakUpdate struct {
//TODO add interim results
}