ChronoTomato/pkg/models/configfile.go
Sebastian Mark bbc9977f1c feat: refactor shared.Message to a channel
- remove `shared` package and shared.Message
- rename `notifications` package to `frontend`
- introduce a channel send the received ServerMessages to the frontend handler(s)
- move keyhandler to goroutine
- simplify password handling in Start function
- update import names when importing from GoTomoto
2024-10-27 22:33:30 +01:00

11 lines
297 B
Go

package models
import (
GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
)
type Config struct {
URL string `yaml:"url"`
Password string `yaml:"password"`
PomodoroConfig GoTomato.GoTomatoPomodoroConfig `yaml:"config"`
}