//
pkg.gl
Category
github.com/drawr-team/core-server
websock
package
0.2.4
Repository:
https://github.com/drawr-team/core-server.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
1
Files
185 SLOC
#
Functions
NewConnection
NewConnection constructs a new Connection.
NewHub
NewHub creates a new hub.
#
Structs
Connection
Connection wraps the websocket connection.
Handler
Handler implements the http.Handler interface for a websock.Hub.
Hub
Hub keeps track of all connections.