-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
Hi folks,
I have a wrapper library around gocraft/web that is used for all of our micro services. I want all of these services to have a /_health endpoint. So I set up one by default when the object is instantiated.
I wanted to also have the ability for a service to pass in their own handler for this endpoint, when that happens, I want to remove the default created automatically, and replace it with the new one.
Is there a way in your code to remove a route and replace it with a new one? If not, any suggestions?
Thanks,
Metadata
Metadata
Assignees
Labels
No labels