| 45 | } |
| 46 | |
| 47 | type handlerDefinition struct { |
| 48 | method string |
| 49 | path string |
| 50 | handler any |
| 51 | middlewares []MiddlewareDefinition |
| 52 | } |
| 53 | |
| 54 | // NewHandlerDefinition returns a new [HandlerDefinition]. |
| 55 | func NewHandlerDefinition(method string, path string, handler any, middlewares []MiddlewareDefinition) HandlerDefinition { |
nothing calls this directly
no outgoing calls
no test coverage detected