bucket

package
v0.0.0-...-54afde0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Buckets = 256
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Allocator

type Allocator interface {
	Allocate() (int, error)
}

type Fixed

type Fixed int

func (Fixed) Allocate

func (f Fixed) Allocate() (int, error)

type Random

type Random struct{}

func (Random) Allocate

func (Random) Allocate() (int, error)

Jump to

Keyboard shortcuts

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