queue

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue struct {
	// contains filtered or unexported fields
}

func NewQueue

func NewQueue() *Queue

func (*Queue) LPop

func (q *Queue) LPop() interface{}

func (*Queue) LPush

func (q *Queue) LPush(v interface{})

func (*Queue) Len

func (q *Queue) Len() int

func (*Queue) RPop

func (q *Queue) RPop() interface{}

func (*Queue) RPush

func (q *Queue) RPush(v interface{})

Jump to

Keyboard shortcuts

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