//
pkg.gl
Category
github.com/martinohmann/rfoutlet
internal
websocket
package
1.2.0
Repository:
https://github.com/martinohmann/rfoutlet.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
1
Files
212 SLOC
#
Functions
Handler
Handler accepts websocket connections and creates a clients to handle them.
NewHub
NewHub creates a new hub for handling communicating between connected websocket clients.
#
Structs
Hub
Hub acts as a central registry for connected websocket clients and can be used to broadcast messages to everyone.