Documentation
¶
Index ¶
Constants ¶
View Source
const ( VcapCookieId = "__VCAP_ID__" StickyCookieKey = "JSESSIONID" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupRegistry ¶
type Proxy ¶
type Proxy interface {
ServeHTTP(responseWriter http.ResponseWriter, request *http.Request)
// Drain signals Proxy that the gorouter is about to shutdown
Drain()
}
type ProxyArgs ¶
type ProxyArgs struct {
EndpointTimeout time.Duration
Ip string
TraceKey string
Registry LookupRegistry
Reporter reporter.ProxyReporter
AccessLogger access_log.AccessLogger
SecureCookies bool
TLSConfig *tls.Config
RouteServiceEnabled bool
RouteServiceTimeout time.Duration
RouteServiceRecommendHttps bool
Crypto secure.Crypto
CryptoPrev secure.Crypto
ExtraHeadersToLog map[string]struct{}
Logger lager.Logger
HealthCheckUserAgent string
EnableZipkin bool
}
Click to show internal directories.
Click to hide internal directories.