memqueue

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueue

func NewQueue(opts queue.QueueOptions) queue.Queuer

Types

type MemQueue

type MemQueue struct {
	Name string
	// contains filtered or unexported fields
}

func (*MemQueue) Close

func (q *MemQueue) Close() error

func (*MemQueue) Consumer

func (q *MemQueue) Consumer() taskq.QueueConsumer

func (*MemQueue) Length added in v0.4.10

func (q *MemQueue) Length() (int, error)

func (*MemQueue) Write

Jump to

Keyboard shortcuts

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