Commit graph

8 commits

Author SHA1 Message Date
f183686272 break: update ServerMessage model
- rename MaxSession to TotalSession (and JSON struct tags)

🤖
2024-10-20 23:42:25 +02:00
2ac1aecba1 feat: allow clients to send pomodoro config
- allow clients to send custom configuration for pomodoro sessions
- update RunPomodoro to accept a configuration parameter
- modify startTimer to handle session count from config
- add default pomodoro configuration in client command handling

🤖
2024-10-20 23:42:25 +02:00
914421d7a5 doc: update README with client commands and server messages
- add table of contents for better navigation
- document client commands with JSON examples
- describe server messages and their structure

🤖
2024-10-20 19:26:14 +02:00
0b2f83cd35 feat: add CLI flags to app
- implement command-line flags for listen address and port
- add usage section to README

🤖
2024-10-20 14:55:02 +02:00
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
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