Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRouter ¶
func SetupRouter(applications map[string]websockets.Application) *gin.Engine
SetupRouter returns a Gin router that has been set up to begin handling requests.
func StartServer ¶
func StartServer(port int, applications map[string]websockets.Application) *http.Server
StartServer begins running the webserver (and WebSocket handling) on separate goroutines. It returns the server instance which has been started.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package jsonrpc is a limited implementation of the JSON-RPC v2 specification.
|
Package jsonrpc is a limited implementation of the JSON-RPC v2 specification. |
Click to show internal directories.
Click to hide internal directories.