proxy

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const HostParamKey = "proxy-host"

Variables

This section is empty.

Functions

func Direct

func Direct(backendURL string) *httputil.ReverseProxy

Types

type ProxyManager

type ProxyManager struct {
	Root      http.Handler
	Documents http.Handler
}

func NewManager

func NewManager(config env.Config, cache httpcache.Cache) (*ProxyManager, error)

Jump to

Keyboard shortcuts

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