GoTomato/internal/shared/state.go

21 lines
536 B
Go
Raw Normal View History

package shared
import (
"git.smsvc.net/pomodoro/GoTomato/internal/metadata"
"git.smsvc.net/pomodoro/GoTomato/pkg/models"
)
2024-10-30 06:37:14 +00:00
// The global state of the pomodoro
var State = models.ServerMessage{
Mode: "Idle",
Settings: DefaultPomodoroConfig,
Session: 0,
TimeLeft: DefaultPomodoroConfig.Work,
Ongoing: false,
Paused: false,
ProtocolVersion: metadata.ProtocolVersion,
}
2024-10-30 06:37:14 +00:00
// The password needed to execute client commands or change the pomodoro config
var PomodoroPassword string