Skip to content

abrander/ginproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ginproxy

A very simple proxy handler for gin-gonic

Can be used like this:

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")
}

About

A very simple proxy handler for gin-gonic

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages