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
We have a web server done with gorilla mux and we want to migrate it to gin gonic, but we won't going to do it all at once: we wanna do it gradually.
Is there a way to define a gin gonic router and include it inside my gorilla server? Or any other way to acomplish that migration?
Thanks!
The text was updated successfully, but these errors were encountered:
You may need an API gateway (Ingress, Traefik or nginx) to forward traffic on a specified path to gin Server
Sorry, something went wrong.
Hi @jmwielandt
net/http gin gorilla/mux All of above are implements the http.HandlerFunc, you might be easily rebuild your function.
You can use a small adapter to serve net/http handler methods from gin, here's an example:
func ginAdapter() gin.HandlerFunc { return func(c *gin.Context) { yourHandler(c.Writer, c.Request) } }
No branches or pull requests
Description
We have a web server done with gorilla mux and we want to migrate it to gin gonic, but we won't going to do it all at once: we wanna do it gradually.
Is there a way to define a gin gonic router and include it inside my gorilla server? Or any other way to acomplish that migration?
Thanks!
The text was updated successfully, but these errors were encountered: