Sebastian Mark
a6b3444068
- replace UnsetPomodoroConfig with empty struct check in client commands
- remove unused UnsetPomodoroConfig variable
🤖
17 lines
323 B
Go
17 lines
323 B
Go
package shared
|
|
|
|
import (
|
|
"git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
|
)
|
|
|
|
var DefaultServerConfig = models.GoTomatoServerConfig{
|
|
ListenAddress: "0.0.0.0",
|
|
ListenPort: 8080,
|
|
}
|
|
|
|
var DefaultPomodoroConfig = models.GoTomatoPomodoroConfig{
|
|
Work: 25 * 60,
|
|
ShortBreak: 5 * 60,
|
|
LongBreak: 15 * 60,
|
|
Sessions: 4,
|
|
}
|