Skip to content

Instantly share code, notes, and snippets.

@cheikhsimsol
Created February 14, 2024 06:11
Show Gist options
  • Save cheikhsimsol/11eeb1f70f1864eb3c4d142654e51401 to your computer and use it in GitHub Desktop.
Save cheikhsimsol/11eeb1f70f1864eb3c4d142654e51401 to your computer and use it in GitHub Desktop.
router.Use(func(c *gin.Context) {
// Forward the request to the target server
proxy.ServeHTTP(c.Writer, c.Request)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment