Documentation
¶
Overview ¶
Package requestid generates, validates and carries request IDs in a context.Context, so HTTP middleware, logging, audit and jobs share one correlation value (ADR-0030).
Stability: stable (ADR-0015, ADR-0054).
Index ¶
Constants ¶
View Source
const Header = "X-Request-ID"
Header is the HTTP header carrying the request ID.
View Source
const MaxLength = 128
MaxLength is the longest accepted incoming request ID.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.