Documentation
¶
Index ¶
Constants ¶
View Source
const RequestIDHeaderName = "x-devbot-request-id"
RequestIDHeaderName is the name of the header used to signal and set the incoming request ID if it's missing.
View Source
const RequestIDKey ctxKeyRequestID = 0
RequestIDKey is the key that holds the unique request ID in a request context.
Variables ¶
This section is empty.
Functions ¶
func GetRequestID ¶
GetRequestID provides the request ID of the request associated with the given context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.