Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteResolver ¶
type RouteResolver struct {
// contains filtered or unexported fields
}
RouteResolver performs the relatively costly translation from request URL to an OpenAPI route once and stashes it in the context for easy use by other middlewares.
func New ¶
func New(schema *helpers.Schema) *RouteResolver
func (*RouteResolver) Middleware ¶
func (m *RouteResolver) Middleware(next http.Handler) http.Handler
Click to show internal directories.
Click to hide internal directories.