queue

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL