proxy

package
v0.0.0-...-c7d80c6 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2017 License: Apache-2.0 Imports: 9 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 struct {
	WebsocketEnabled bool
	// contains filtered or unexported fields
}

Proxy is the Central Gateway's customisable HTTP proxy backend

func New

func New(backend *url.URL) *Proxy

New creates a new Central Gateway proxy backend

func (*Proxy) ServeHTTP

func (p *Proxy) ServeHTTP(rw http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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