Documentation ¶
Index ¶
- Constants
- func SetB3Headers(request *http.Request, logger lager.Logger)
- func SetB3SpanIdHeader(request *http.Request, logger lager.Logger)
- func SetB3TraceIdHeader(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" 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.