package
0.7.2
Repository: https://github.com/zsiec/asynq.git
Documentation: pkg.go.dev

# Functions

FailureKey returns a redis key for failure count for the given day.
NewCancelations returns a Cancelations instance.
NewProcessState returns a new instance of ProcessState.
ProcessedKey returns a redis key for processed count for the given day.
ProcessInfoKey returns a redis key for process info.
QueueKey returns a redis key for the given queue name.
WorkersKey returns a redis key for the workers given hostname and pid.

# Constants

ZSET.
SET.
ZSET.
PubSub channel.
ZSET.
LIST.
DefaultQueueName is the queue name used if none are specified by user.
LIST.
LIST - asynq:queues:<qname>.
ZSET.
ZSET.
StatusIdle indicates process is in idle state.
StatusRunning indicates process is up and processing tasks.
StatusStopped indicates process is up but not processing new tasks.

# Structs

Cancelations is a collection that holds cancel functions for all in-progress tasks.
ProcessInfo holds information about a running background worker process.
ProcessState holds process level information.
TaskMessage is the internal representation of a task with additional metadata fields.
WorkerInfo holds information about a running worker.

# Type aliases

PStatus represents status of a process.