Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWorkerContextWithLogger ¶
NewWorkerContextWithLogger is a worker context constructor that can be passed to CachedMap or CachedItem to create a new context for the worker based on the context passed to the Get call. This implementation will modify the logger found in the context of the Get call to include a new key-value pair that indicates if the worker is still attached to the Get call. The worker is considered detached if the Get call was canceled and has returned before the worker logged the message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.