Make breaks between questions
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user