backend

package
v1.0.1-0...-53a0807 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendReverseProxy

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

BackendReverseProxy is a wrapper around standard http proxy

func New

func New(target string, logger bark.Logger) (*BackendReverseProxy, error)

New returns new reverse proxy for given backend

func (*BackendReverseProxy) ServeHTTP

func (b *BackendReverseProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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