GoTomato/pkg/models
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
..
broadcast.go fix: prevent concurrent write to websocket connection 2024-10-20 11:06:37 +02:00
client.go fix: prevent concurrent write to websocket connection 2024-10-20 11:06:37 +02:00