proxy

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy interface {
	http.Handler
	Address() string
}

func New

func New(backend string, atomictoken *atomic.Value) (Proxy, error)

type ProxyBackend

type ProxyBackend struct {
	// contains filtered or unexported fields
}

func (*ProxyBackend) ServeHTTP

func (this *ProxyBackend) ServeHTTP(rw http.ResponseWriter, req *http.Request)

func (*ProxyBackend) URL

func (this *ProxyBackend) URL() *url.URL

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL