Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Extract handler to standalone for easier usage in libraries #22

Open
deefdragon opened this issue Jul 13, 2021 · 0 comments
Open

Extract handler to standalone for easier usage in libraries #22

deefdragon opened this issue Jul 13, 2021 · 0 comments

Comments

@deefdragon
Copy link

Because the handler is currently entirely inside the middleware, it is very difficult to fine tune it (such as enabling/disabling it), and takes a reasonably large work around when used with a library like echo or gin.

Please put the handler into a standalone function so that it can be called manually from whatever library a user chooses/ in a more flexible manner in general.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant