queue

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAXSIZE    = 200
	RETRY_TIME = 5
	WAIT_TIME  = 100 * time.Microsecond
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue struct {
	Queue chan interface{}
}

func New

func New() *Queue

func (*Queue) Push

func (q *Queue) Push(elem interface{}) error

func (*Queue) Reset

func (q *Queue) Reset()

Jump to

Keyboard shortcuts

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