GoTomato/cmd/server
Sebastian Mark ab2e8c161d feat: implement stale client removal after timeout
- add goroutine to remove stale clients from the connection pool
- update client struct to track `LastPong` time
- set write deadline for websocket connections
- move package variables and const to `vars.go`
- log additional information when broadcasting errors

🤖
2024-11-21 21:48:57 +01:00
..
main.go feat: implement stale client removal after timeout 2024-11-21 21:48:57 +01:00