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
🤖
16 lines
273 B
Markdown
16 lines
273 B
Markdown
# 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
|
|
```
|
|
|
|
open http://localhost:8081
|