2024-10-20 12:31:52 +00:00
|
|
|
package models
|
|
|
|
|
2024-10-20 12:42:50 +00:00
|
|
|
type GoTomatoTimerConfig struct {
|
|
|
|
Work int `json:"work"`
|
|
|
|
ShortBreak int `json:"shortBreak"`
|
|
|
|
LongBreak int `json:"longBreak"`
|
|
|
|
Sessions int `json:"sessions"`
|
|
|
|
}
|
|
|
|
|
2024-10-20 12:31:52 +00:00
|
|
|
type GoTomatoServerConfig struct {
|
2024-10-20 18:09:34 +00:00
|
|
|
ListenAddress string `json:"listenAddress"`
|
|
|
|
ListenPort int `json:"listenPort"`
|
2024-10-20 12:31:52 +00:00
|
|
|
}
|