A Pomodoro Server
Sebastian Mark
6d73711341
- 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
🤖
|
||
---|---|---|
go.mod | ||
go.sum | ||
GoTomato.go | ||
index.html | ||
README.md |
GoTomato
A pomodoro server written in Go
Installation
go install git.smsvc.net/pomodoro/GoTomato@latest
Testing
docker run --rm -d --name pomodoro-client -v $PWD:/usr/share/nginx/html/ -p 8081:80 nginx
go run .