fifoutils

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmpty error

Functions

This section is empty.

Types

type FIFO

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

func NewFIFO

func NewFIFO() *FIFO

func (*FIFO) ElementAt

func (f *FIFO) ElementAt(idx int) interface{}

func (*FIFO) Len

func (f *FIFO) Len() int

func (*FIFO) Pop

func (f *FIFO) Pop() interface{}

func (*FIFO) Push

func (f *FIFO) Push(ele interface{})

Jump to

Keyboard shortcuts

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