package
0.4.5
Repository: https://github.com/wix/supraworker.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
FromJobID generates a new context with the given context as its parent and stores the given job ID with the context.
FromRequestTimeout generates a new context with the given context as its parent and stores the request timout with the context.
FromRetryID generates a new context with the given context as its parent and stores the given retry ID with the context.
FromWorkerID generates a new context with the given context as its parent and stores the given worker ID with the context.
JobIDFromContext returns the job ID stored in the context with FromJobID.
LoggerFromContext returns a logrus.Entry with the PID of the current process set as a field, and also includes every field set using the From* functions this package.
RequestTimeoutFromContext returns the time duration stored in the context with FromRequestTimeout.
RetryIDFromContext returns the retry ID stored in the context with FromRetryID.
WorkerIDFromContext returns the worker ID stored in the context with FromWorkerID.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Type aliases

No description provided by the author