queue

package
v1.1.2-pre Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: MIT 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 {
	Lock sync.Mutex
	// contains filtered or unexported fields
}

func New

func New() *Queue

func (*Queue) Back

func (q *Queue) Back() (val interface{})

func (*Queue) Front

func (q *Queue) Front() (val interface{})

func (*Queue) IsEmpty

func (q *Queue) IsEmpty() bool

func (*Queue) Len

func (q *Queue) Len() int

func (*Queue) PopBack

func (q *Queue) PopBack() (val interface{})

func (*Queue) PopFront

func (q *Queue) PopFront() (val interface{})

func (*Queue) Push

func (q *Queue) Push(val interface{})

Jump to

Keyboard shortcuts

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