package
0.0.0-20240713000925-feccf6f678a9
Repository: https://github.com/exatombe/go-chat.git
Documentation: pkg.go.dev

# Functions

NewHub creates a new hub It takes a discord session as argument It returns a pointer to a Hub.
ServeWs handles websocket requests from the peer.

# Structs

Client is a middleman between the websocket connection and the hub.
Hub maintains the set of active clients and broadcasts messages to the clients.
No description provided by the author