Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abrander/ginproxy

A very simple proxy handler for gin-gonic
https://github.com/abrander/ginproxy

gin-gonic proxy

Last synced: about 1 month ago
JSON representation

A very simple proxy handler for gin-gonic

Awesome Lists containing this project

README

        

# ginproxy
A very simple proxy handler for gin-gonic

Can be used like this:

```go
import (
"github.com/gin-gonic/gin"
"github.com/abrander/ginproxy"
)

func main() {
router := gin.Default()
g, _ := ginproxy.NewGinProxy("http://backend01.example.com/")
router.Any("/api/*all", g.Handler)
router.Run(":8080")
}
```