web

package
v0.0.0-...-205d087 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL