bucket

package
v0.0.0-...-0b3dc3b Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 6

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