httpproxy

package
v2.0.15-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: Apache-2.0 Imports: 7 Imported by: 54

Documentation

Index

Constants

View Source
const (
	ForwardProto = "X-Forwarded-Proto"
	APIAuth      = "X-API-Auth-Header"
	SetCookie    = "Set-Cookie"
	Cookie       = "Cookie"
	APISetCookie = "X-Api-Set-Cookie-Header"
	APICookie    = "X-Api-Cookie-Header"
)

Variables

This section is empty.

Functions

func NewProxy

func NewProxy(prefix string, validHosts Supplier) http.Handler

Types

type Supplier

type Supplier func() []string

Jump to

Keyboard shortcuts

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