Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a connected WebSocket client.
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
Hub manages all connected clients and broadcasts events.
func (*Hub) Unregister ¶
Unregister removes a client from the hub.
Click to show internal directories.
Click to hide internal directories.