package
0.0.0-20210302194054-83eb6fe5ac98
Repository: https://github.com/issue-one/offtime-rest-api.git
Documentation: pkg.go.dev

# Functions

New returns a new websocket hub instance.
NewClient returns a new instance of the default client.

# Structs

Hub is WebSocket hub instance.

# Interfaces

Client is interface for the client type.

# Type aliases

ClientFn is the Client creation function callback.
CloseFn is the function to be after the connectin is closed and all cleaning up has happened.
Connections is a map of Client interfaces to their corresponding WebSocket connection.
ReadFn is the function to be called directly after a read operation by the default client.