Home
Softono
goproxy

goproxy

Open source Go
28
Stars
1
Forks
0
Issues
0
Watchers
7 years
Last Commit

About goproxy

a reverse proxy authentication server (golang)

Platforms

Web Self-hosted

Languages

Go

goproxy

-- import "github.com/autom8ter/goproxy"

Usage

type GoProxy

type GoProxy struct {
}

GoProxy is a configurable single-target reverse-proxy HTTP handler compatible with the net/http http.Handler interface

func NewGoProxy

func NewGoProxy(config *config.Config) *GoProxy

NewGoProxy registers a new reverseproxy handler for each provided config with the specified path prefix

func (*GoProxy) ServeHTTP

func (g *GoProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)