We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to add some middlewares like CORS, gzip etc. for the generated rest api. Is there an easy way to do that? thanks.
The text was updated successfully, but these errors were encountered:
It is designed to be compatible to standard golang interfaces. So you can combine any middleware for standard libraries.
In particular, Request multiplexer implements the standard HTTP handler interface. So you can easily combine it with such middleware in Gorilla. https://godoc.org/github.com/gorilla/handlers
Sorry, something went wrong.
@yugui That help a lot. Great thanks!
No branches or pull requests
I would like to add some middlewares like CORS, gzip etc. for the generated rest api. Is there an easy way to do that? thanks.
The text was updated successfully, but these errors were encountered: