()
| 131 | // MiddlewareConfigurator defines interface for creating middleware handlers with possibility to return configuration errors instead of panicking. |
| 132 | type MiddlewareConfigurator interface { |
| 133 | ToMiddleware() (MiddlewareFunc, error) |
| 134 | } |
| 135 | |
| 136 | // Validator is the interface that wraps the Validate function. |
no outgoing calls