Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestID ¶
RequestID always generates the ID server-side rather than trusting a client-supplied X-Request-ID header, which would otherwise let a caller inject arbitrary values into our logs.
func RequestIDFromContext ¶
RequestIDFromContext returns the request ID set by RequestID, or "" if the middleware wasn't applied.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.