Commit graph

5 commits

Author SHA1 Message Date
b7a79acdb0 feat: (re)add GoTomato.go
- refactor server package
  - update package name
  - rename `StartServer()` to `Start()`
- (re)add `GoTomato.go` to call `server.Start()`
- update README
2024-10-19 16:49:09 +02:00
c59f737eb7 feat(server): restructure Pomodoro server into modular components
- move server logic to cmd/server/main.go
- create packages for websocket, pomodoro and broadcast handling
- define models for messages
- remove old GoTomato.go file
- update README

🤖
2024-10-19 16:49:09 +02:00
6d73711341 feat: implement client start/stop commands
- add ClientCommand struct to handle incoming commands
- introduce timerStopChannel to manage timer stopping
- modify startTimer to return a boolean for success/failure
- update runPomodoroTimer to handle timer start/stop commands
- add start and stop buttons in the index.html for user interaction

🤖
2024-10-19 16:49:09 +02:00
fa4eebbe76 feat: update module path to new repository location
- change module path from GoTomato to git.smsvc.net/pomodoro/GoTomato

🤖
2024-10-19 16:49:09 +02:00
2cf5d77e2a Genesis 2024-10-19 16:49:09 +02:00