package
0.0.0-20241116165817-883d5d7d379c
Repository: https://github.com/ddkwork/toolbox.git
Documentation: pkg.go.dev

# Functions

Depth sets the depth of the queue.
New creates a queue which executes the tasks submitted to it.
RecoveryHandler sets the recovery handler to use for tasks that panic.
Workers sets the number of workers that will simultaneously process tasks.

# Structs

Queue holds the queue information.

# Type aliases

Logger provides a way to log panics caused by workers in a queue.
Option defines an option for the queue.
Task defines a unit of work.