# Functions
DebugRoute sets up the /debug/pprof-related routes.
Default is the same as New, but adds some default router middleware and routes most services use.
DefaultMiddleware provides a configurable default middleware stack for a router.
DefaultMux creates and returns a Default router, with some some application-wide middleware.
DefaultRoutes returns a slice of opinionated routes which most services use.
GetHealthRoute returns the health check route.
GetPrometheusRoute returns the Prometheus metrics route.
MethodNotAllowed adds a MethodNotAllowedHandler to the router, instrumented by New Relic.
New creates a new router, fully compatible with http.Handler.
NotFound adds a NotFoundHandler to the router, instrumented by New Relic.
RegisterRoutes provides an easy-to-use way of registering many Routes at once.
# Structs
AuthOptions are options for the authentication middleware.
DefaultMiddlewareOptions is the configuration struct for router's DefaultMiddleware.
DefaultOptions provides a limited set of options for the Default router.
DefaultRoutesOptions provides configuration for the default routes.
HealthOptions holds all values needed for the Health route.
PrometheusOptions exposes options to supply the Prometheus route.
# Type aliases
Route offers a flexible way to add route handling to a given router.