gochan

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New[Value any](opts ...options.Option[core.Options]) core.Queue[Value]

Types

type GoChanQ

type GoChanQ[Value any] struct {
	// contains filtered or unexported fields
}

func (*GoChanQ[Value]) Dequeue

func (q *GoChanQ[Value]) Dequeue() (Value, bool)

func (*GoChanQ[Value]) Empty

func (q *GoChanQ[Value]) Empty() bool

func (*GoChanQ[Value]) Enqueue

func (q *GoChanQ[Value]) Enqueue(v Value) bool

func (*GoChanQ[Value]) Full

func (q *GoChanQ[Value]) Full() bool

func (*GoChanQ[Value]) Size

func (q *GoChanQ[Value]) Size() int

Jump to

Keyboard shortcuts

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