xqueue

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TQueue

type TQueue struct {
	C chan interface{} // Underlying channel for data reading.
	// contains filtered or unexported fields
}

func New

func New(limit ...int) *TQueue

func (*TQueue) Close

func (q *TQueue) Close()

func (*TQueue) Len

func (q *TQueue) Len() (length int)

func (*TQueue) Pop

func (q *TQueue) Pop() interface{}

func (*TQueue) Push

func (q *TQueue) Push(v interface{})

func (*TQueue) Size

func (q *TQueue) Size() int

Len别名

Jump to

Keyboard shortcuts

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