A Pomodoro Server
Find a file
Sebastian Mark 4471c86a0c fix: prevent concurrent write to websocket connection
- refactor client handling and message broadcasting
- replace Client struct
- implement SendMessage method in Client struct for safer message sending
- update client map to use *models.Client instead of bool
- adjust BroadcastMessage and RunPomodoroTimer functions to use new client type

🤖
2024-10-20 11:06:37 +02:00
cmd/server feat: (re)add GoTomato.go 2024-10-19 16:49:09 +02:00
internal fix: prevent concurrent write to websocket connection 2024-10-20 11:06:37 +02:00
pkg/models fix: prevent concurrent write to websocket connection 2024-10-20 11:06:37 +02:00
Dockerfile feat: add Dockerfile for GoTomato 2024-10-19 17:13:15 +02:00
go.mod feat(server): restructure Pomodoro server into modular components 2024-10-19 16:49:09 +02:00
go.sum Genesis 2024-10-19 16:49:09 +02:00
GoTomato.go feat: (re)add GoTomato.go 2024-10-19 16:49:09 +02:00
index.html break: change the "stop" command to "reset" 2024-10-20 10:03:29 +02:00
README.md feat: (re)add GoTomato.go 2024-10-19 16:49:09 +02:00

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 .

open http://localhost:8081