add start/reset
This commit is contained in:
@@ -30,6 +30,7 @@ type GameConfig struct {
|
||||
StartingAllotment time.Duration `json:"starting_allotment"`
|
||||
Threshold time.Duration `json:"threshold"`
|
||||
StartDate time.Time `json:"start_date"`
|
||||
Started bool `json:"started"`
|
||||
}
|
||||
|
||||
type ClientConfig struct {
|
||||
@@ -39,6 +40,7 @@ type ClientConfig struct {
|
||||
Online bool `json:"online"`
|
||||
TimeLeft time.Duration `json:"time_left"`
|
||||
CompanyID uint8 `json:"company_id`
|
||||
Ready bool `json:"ready"`
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
|
||||
Reference in New Issue
Block a user