http_winch

package
v1.0.0-beta.9-test1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: Apache-2.0 Imports: 19 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 {
	// contains filtered or unexported fields
}

Proxy is a forward/reverse proxy that implements Mapper+Kedge forwarding. Mux is for routes that are directed to winch directly (debug endpoints).

func New

func New(mapper winchMapper, config *tls.Config, logEntry *logrus.Entry, mux *http.ServeMux, debugMode bool) *Proxy

func (*Proxy) ServeHTTP

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

Jump to

Keyboard shortcuts

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