Count online users in real-time with Gorilla Websocket
This is the implementation of a real-time site for tracking users online via websocket
How to run?
- install go modules
go mod -x download
- run server
go run ./server/server.go ./server/hub.go
- open client
index.html