Documentation
¶
Overview ¶
Package ctxutil provides small, domain-agnostic helpers for threading values through context.Context. It currently carries an HTTP request id so a single id can be propagated across handler, service, and worker boundaries without callers threading it explicitly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestIDFrom ¶
RequestIDFrom returns the request id stamped on ctx, or "" when none is present. Services and workers use this to read the id without taking a dependency on the HTTP layer that originally set it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.