Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HttpContextContextKey httpContextContextType
View Source
var RequestIdContextKey = &requestIdContextType{}
Functions ¶
func BodiesOmitted ¶ added in v1.113.0
BodiesOmitted reports whether the context was marked by WithBodiesOmitted.
func WithBodiesOmitted ¶ added in v1.113.0
WithBodiesOmitted marks a record's context as one whose HTTP context is to be written without the bodies of its request and response: the summary of a request served, which says who asked for what and how it ended, and has no need of what was sent.
func WithHttpContextValue ¶
func WithHttpContextValue(parent context.Context, httpContext *altshiftHttpTypes.HttpContext) context.Context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.