Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance interface { // Push a task Push(task Task) // Run the loop until a signal on the channel Run(<-chan struct{}) }
Instance of work tickets processed using a rate-limiting loop
type LKQueue ¶
type LKQueue struct {
// contains filtered or unexported fields
}
LKQueue is a lock-free unbounded queue.
func NewLKQueue ¶
func NewLKQueue() *LKQueue
Click to show internal directories.
Click to hide internal directories.