# Functions
DefaultRouter creates a default implemenation of the router.
Error creates a generic responder for returning errors, the data will be serialized with the matching producer for the request.
MatchedRouteFrom request context value.
NegotiateContentEncoding returns the best offered content encoding for the request's Accept-Encoding header.
NegotiateContentType returns the best offered content type for the request's Accept header.
NewContext creates a new context wrapper.
NewOperationExecutor creates a context aware middleware that handles the operations after routing.
NewRoutableContext creates a new context for a routable API.
NewRouter creates a new context aware router middleware.
NewUntypedRequestBinder creates a new binder for reading a request.
NotImplemented the error response when the response is not implemented.
PassthroughBuilder returns the handler, aka the builder identity function.
RapiDoc creates a middleware to serve a documentation site for a swagger spec.
Redoc creates a middleware to serve a documentation site for a swagger spec.
SecurityPrincipalFrom request context value.
SecurityScopesFrom request context value.
Serve serves the specified spec with the specified api registrations as a http.Handler.
ServeWithBuilder serves the specified spec with the specified api registrations as a http.Handler that is decorated by the Builder.
Spec creates a middleware to serve a swagger spec.
SwaggerUI creates a middleware to serve a documentation site for a swagger spec.
# Structs
Context is a type safe wrapper around an untyped request context used throughout to store request context with the standard context attached to the http.Request.
MatchedRoute represents the route that was matched in this request.
RapiDocOpts configures the RapiDoc middlewares.
RedocOpts configures the Redoc middlewares.
RouteAuthenticator is an authenticator that can compose several authenticators together.
RouteParam is a object to capture route params in a framework agnostic way.
SwaggerUIOpts configures the Swaggerui middlewares.
UntypedRequestBinder binds and validates the data from a http request.
# Interfaces
RequestBinder is an interface for types to implement when they want to be able to bind from a request.
Responder is an interface for types to implement when they want to be considered for writing HTTP responses.
RoutableAPI represents an interface for things that can serve as a provider of implementations for the swagger router.
Router represents a swagger aware router.
# Type aliases
A Builder can create middlewares.
ResponderFunc wraps a func as a Responder interface.
RouteAuthenticators represents a group of authenticators that represent a logical OR.
RouteParams the collection of route params.