Documentation ¶
Index ¶
Constants ¶
View Source
const ( VcapCookieId = "__VCAP_ID__" StickyCookieKey = "JSESSIONID" )
Variables ¶
This section is empty.
Functions ¶
func SetupProxyRequest ¶
func SetupProxyRequest(source *http.Request, target *http.Request, routeServiceArgs route_service.RouteServiceArgs, routeServiceConfig *route_service.RouteServiceConfig)
Types ¶
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 []string Logger lager.Logger }
Click to show internal directories.
Click to hide internal directories.