Documentation ¶
Overview ¶
Package requestid provides functions to support embedded and retrieving a request id from a go context tree
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Context ¶
Context create a context from the provided parent and the provided request id string.
func ContextFromChi ¶
ContextFromChi returns a new context bound with the value of the request id.
func FromContext ¶
FromContext returns the set request id, if one has been set, from the provided context returns "" if no requestid has been set
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.