Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Middleware per handler #133

Closed
roblaszczak opened this issue Sep 16, 2019 · 4 comments
Closed

Middleware per handler #133

roblaszczak opened this issue Sep 16, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed module: router S small issue

Comments

@roblaszczak
Copy link
Member

Currently, you are not able to use middleware per handler in "clean way" (you can still manually wrap the handler function, or have separated router).

It would be nice to be able to add middleware per handler.

As a good reference point, you can use chi router: https://github.com/go-chi/chi

@roblaszczak roblaszczak added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers module: router S small issue labels Sep 16, 2019
@0michalsokolowski0
Copy link
Contributor

I want to work on it

@0michalsokolowski0
Copy link
Contributor

PR: #149

roblaszczak pushed a commit that referenced this issue Oct 22, 2019
@bkielbasa
Copy link
Contributor

shouldn't the task be closed? :)

@roblaszczak
Copy link
Member Author

Yeah, done ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed module: router S small issue
Projects
None yet
Development

No branches or pull requests

3 participants