Documentation
¶
Index ¶
Constants ¶
View Source
const (
// HeaderName is the canonical correlation identifier header.
HeaderName = "X-OngoingAI-Correlation-ID"
)
Variables ¶
This section is empty.
Functions ¶
func EnsureRequest ¶
EnsureRequest guarantees a stable correlation identifier on the request context and request headers.
func FromContext ¶
FromContext extracts a normalized correlation identifier from context.
func FromHeaders ¶
FromHeaders extracts a normalized correlation identifier from known headers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.