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 12:55:02 +00:00
|
|
|
ListenAddress string `json:"listenAddress, default:"0.0.0.0"`
|
|
|
|
ListenPort int `json:"listenPort, default:8080"`
|
2024-10-20 12:31:52 +00:00
|
|
|
}
|