2024-10-21 07:46:16 +00:00
|
|
|
package shared
|
|
|
|
|
2024-10-28 08:33:05 +00:00
|
|
|
import "git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
2024-10-21 07:46:16 +00:00
|
|
|
|
2024-10-26 07:22:21 +00:00
|
|
|
var DefaultServerConfig = models.ServerConfig{
|
2024-10-21 07:46:16 +00:00
|
|
|
ListenAddress: "0.0.0.0",
|
|
|
|
ListenPort: 8080,
|
|
|
|
}
|
|
|
|
|
2024-10-26 07:20:29 +00:00
|
|
|
var DefaultPomodoroConfig = models.PomodoroConfig{
|
2024-10-21 07:46:16 +00:00
|
|
|
Work: 25 * 60,
|
|
|
|
ShortBreak: 5 * 60,
|
|
|
|
LongBreak: 15 * 60,
|
|
|
|
Sessions: 4,
|
|
|
|
}
|