2024-10-21 07:20:58 +00:00
|
|
|
package shared
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
|
|
|
)
|
|
|
|
|
2024-10-21 11:42:32 +00:00
|
|
|
var Message = ResetToDefault()
|
|
|
|
|
|
|
|
func ResetToDefault() models.ServerMessage {
|
|
|
|
return models.ServerMessage{
|
2024-10-22 05:46:46 +00:00
|
|
|
Mode: "Idle",
|
|
|
|
PomodoroSettings: DefaultPomodoroConfig,
|
|
|
|
Session: 0,
|
|
|
|
TimeLeft: DefaultPomodoroConfig.Work,
|
|
|
|
Ongoing: false,
|
|
|
|
Paused: false,
|
2024-10-21 11:42:32 +00:00
|
|
|
}
|
2024-10-21 07:20:58 +00:00
|
|
|
}
|
2024-10-21 13:36:26 +00:00
|
|
|
|
|
|
|
var PomodoroPassword string
|