//
pkg.gl
Category
github.com/tympanix/supper
api
package
1.0.5
Repository:
https://github.com/tympanix/supper.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
24
Dependents
2
Files
664 SLOC
#
Functions
New
New creates a new API handler.
NewError
NewError returns a new error.
#
Structs
API
API exposes endpoints for the webapp to perform HTTP RESTFull actions.
Client
Client is a middleman between the websocket connection and the hub.
Hub
Hub maintains the set of active clients and broadcasts messages to the clients.
#
Interfaces
Error
Error is an error occurring in an API endpoint.