Sebastian Mark
a0dba673a2
- add explicit server messages for start and end
- include pomodoro setttings in server messages
- update README
🤖
20 lines
411 B
Go
20 lines
411 B
Go
package shared
|
|
|
|
import (
|
|
"git.smsvc.net/pomodoro/GoTomato/pkg/models"
|
|
)
|
|
|
|
var Message = ResetToDefault()
|
|
|
|
func ResetToDefault() models.ServerMessage {
|
|
return models.ServerMessage{
|
|
Mode: "Idle",
|
|
PomodoroSettings: DefaultPomodoroConfig,
|
|
Session: 0,
|
|
TimeLeft: DefaultPomodoroConfig.Work,
|
|
Ongoing: false,
|
|
Paused: false,
|
|
}
|
|
}
|
|
|
|
var PomodoroPassword string
|