Documentation
¶
Overview ¶
Package memqueue provides an in-memory implementation of workqueue.WorkQueue.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*Queue)
Option configures the queue.
func WithWorkerPool ¶
WithWorkerPool sets the number of worker goroutines for processing tasks. Default is 100 workers. Set to 0 to use unbounded goroutines.
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue is an in-memory implementation of WorkQueue.
Click to show internal directories.
Click to hide internal directories.