MCPcopy Create free account
hub / github.com/codegangsta/gin / Proxy

Struct Proxy

lib/proxy.go:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
13
14type Proxy struct {
15 listener net.Listener
16 proxy *httputil.ReverseProxy
17 builder Builder
18 runner Runner
19 to *url.URL
20}
21
22func NewProxy(builder Builder, runner Runner) *Proxy {
23 return &Proxy{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected