Documentation ¶
Index ¶
- Constants
- func SetB3Headers(request *http.Request, logger lager.Logger)
- func SetTraceHeaders(responseWriter http.ResponseWriter, routerIp, addr string)
- func SetVcapRequestIdHeader(request *http.Request, logger lager.Logger)
- func ValidateCfAppInstance(appInstanceHeader string) (string, string, error)
- type Authenticator
- type BasicAuth
Constants ¶
View Source
const ( VcapBackendHeader = "X-Vcap-Backend" CfRouteEndpointHeader = "X-Cf-RouteEndpoint" VcapRouterHeader = "X-Vcap-Router" VcapRequestIdHeader = "X-Vcap-Request-Id" VcapTraceHeader = "X-Vcap-Trace" CfInstanceIdHeader = "X-CF-InstanceID" B3TraceIdHeader = "X-B3-TraceId" B3SpanIdHeader = "X-B3-SpanId" B3ParentSpanIdHeader = "X-B3-ParentSpanId" CfAppInstance = "X-CF-APP-INSTANCE" )
Variables ¶
This section is empty.
Functions ¶
func SetTraceHeaders ¶
func SetTraceHeaders(responseWriter http.ResponseWriter, routerIp, addr string)
func SetVcapRequestIdHeader ¶
Types ¶
type Authenticator ¶
Click to show internal directories.
Click to hide internal directories.