//
pkg.gl
Category
github.com/runfinch/finch-daemon
api
router
package
0.12.0
Repository:
https://github.com/runfinch/finch-daemon.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
22
Dependents
1
Files
79 SLOC
#
Functions
New
New creates a new router and registers the handlers to it.
VersionMiddleware
VersionMiddleware checks for the requested version of the api and makes sure it falls within the bounds of the supported version.
#
Structs
Options
Options defines the router options to be passed into the handlers.