fifo

package
v0.0.0-...-eb36bdb Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FifoBucket

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

func New

func New() *FifoBucket

func (*FifoBucket) Add

func (b *FifoBucket) Add(id int) int

func (*FifoBucket) GetAll

func (b *FifoBucket) GetAll() []int

func (*FifoBucket) Reset

func (b *FifoBucket) Reset()

func (*FifoBucket) Retrieve

func (b *FifoBucket) Retrieve(index int) int

Jump to

Keyboard shortcuts

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