package
Version:
v0.0.0-...-af25c26
Opens a new window with list of versions in this module.
Published: Aug 27, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ServeWs handles websocket requests from the peer.
Client is a middleman between the websocket connection and the hub.
Hub maintains the set of active clients and broadcasts messages to the
clients.
NewHub generate a new hub
Run means new hub start work
WebConn type
NewwebConn generate a new connect to one client
Pump means conn start work
Source Files
¶
Click to show internal directories.
Click to hide internal directories.