package
Version:
v0.1.7
Opens a new window with list of versions in this module.
Published: Dec 4, 2023
License: BSD-2-Clause
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Client is a middleman between the websocket connection and the hub.
Hub maintains the set of active clients and broadcasts messages to the
clients.
serveWs handles websocket requests from the peer.
type Response struct {
Type string `json:"type"`
Body interface{} `json:"body"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.