GoTomato/pkg/models/config.go

13 lines
312 B
Go

package models
type GoTomatoTimerConfig struct {
Work int `json:"work"`
ShortBreak int `json:"shortBreak"`
LongBreak int `json:"longBreak"`
Sessions int `json:"sessions"`
}
type GoTomatoServerConfig struct {
ListenAddress string `json:"listenAddress"`
ListenPort int `json:"listenPort"`
}