-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
Is it possible to override the 404 and 405 handlers of a route/group? Is it something you would like to have? I could submit a PR, making a NewFromOpts where you can pass the following:
- 404 handlersChain
HandlersChain - 405 handlersChain
HandlersChain - redirectTrailingSlash
bool - handleMethodNotAllowed
bool - automaticallyHandleOPTIONS
bool
By the way: just wanted to say that I really like this router, AWESOME work! Lately I have been looking extensively into the 'router ecosystem' of Go π and this is exactly what I was looking for! π