A Pomodoro Server
Sebastian Mark
c59f737eb7
- 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
🤖
|
||
---|---|---|
cmd/server | ||
internal | ||
pkg/models | ||
go.mod | ||
go.sum | ||
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 ./cmd/server