bucket

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

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

func New

func New() *Bucket

func (*Bucket) Add

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

func (*Bucket) GetAll

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

func (*Bucket) GetSize

func (b *Bucket) GetSize() int

func (*Bucket) Reset

func (b *Bucket) Reset()

func (*Bucket) Retrieve

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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