Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicQueue ¶
type DynamicQueue interface { Capacity() int Produce(item interface{}) bool Size() int StartConsumers(workers int, consumer func(item interface{})) Stop() }
func NewDynamicQueue ¶
func NewDynamicQueue() DynamicQueue
func NewSyncPoolQueue ¶ added in v1.1.0
func NewSyncPoolQueue(capacity int) DynamicQueue
Click to show internal directories.
Click to hide internal directories.