package
0.0.0-20240412153600-120e8890a29d
Repository: https://github.com/anothrnick/json-tree-service.git
Documentation: pkg.go.dev

# Functions

NewHandlers creates and returns a new instance of `Handlers` with the datastore.
OpenCORSMiddleware controls the cross origin policies.
SetRoutes sets all of the appropriate routes to handlers for the application.

# Structs

Action is the payload dispatched to any clients connected over websocket.
Handlers contains all handler functions.

# Interfaces

Database is the required interface to the DB layer from the HTTP handlers.
Dispatcher provides an interface to dispatch events to clients connect over websockets.
Handler is an interface to the HTTP handler functions.