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

Adding middleware using Router.Use () #2

Closed
xserve98 opened this issue Jul 28, 2018 · 1 comment
Closed

Adding middleware using Router.Use () #2

xserve98 opened this issue Jul 28, 2018 · 1 comment

Comments

@xserve98
Copy link

hi,
Will global middleware support?

r := mux.NewRouter()
r.Use(loggingMiddleware)
@dimiro1
Copy link
Owner

dimiro1 commented Jul 31, 2018

Hello @xserve98,

This project is still in a very experimental phase. The APIs are not stable and I would not rely on this for production deployments yet.

About your suggestion, I really appreciate and I will try to find a good API to accommodate this.

Thank you very much for your comment.

@dimiro1 dimiro1 closed this as completed Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants