Documentation ¶
Overview ¶
Package queuecontext provides convenient wrappers for storing and accessing a stored metadata.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetachedContext ¶
DetachedContext returns a new context detached from the lifetime of ctx, but which still returns the values of ctx.
DetachedContext can be used to maintain the context values required to correlate events, but where the operation is "fire-and-forget", and should not be affected by the deadline or cancellation of ctx.
func MetadataFromContext ¶
MetadataFromContext returns the metadata from the passed context and a bool indicating whether the value is present or not.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.