Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.3k
-
I’m currently developing my open-source projectfire-doc and want to use an any route. My handler is written using Go’s standard library, and I’d like to integrate it with Echo. However, I found that I need to use an additional WrapHandler. Why is this method necessary? Why not keep it consistent with the standard library so that compatibility would be better? |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
-
This is because Echo handler has different function signature - mainly the Context interface which has different methods that give you extra functionality when dealing with requests/responses. |
BetaWas this translation helpful?Give feedback.
All reactions
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment