Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequestID ¶
GetRequestID retrieves the request ID from the context. Returns an empty string if not found.
Types ¶
type ContextKey ¶
type ContextKey string
ContextKey is a custom type for context keys to avoid collisions.
const RequestIDKey ContextKey = "request_id"
Click to show internal directories.
Click to hide internal directories.