httpproxy

package
v2.2.3-rc9+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ForwardProto = "X-Forwarded-Proto"
	APIAuth      = "X-API-Auth-Header"
	CattleAuth   = "X-API-CattleAuth-Header"
	AuthHeader   = "Authorization"
)

Variables

This section is empty.

Functions

func NewProxy

func NewProxy(prefix string, validHosts Supplier, scaledContext *config.ScaledContext) http.Handler

Types

type Signer

type Signer interface {
	// contains filtered or unexported methods
}

type Supplier

type Supplier func() []string

Jump to

Keyboard shortcuts

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