rendezvous

package
v0.1.23-oss Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chasher

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

Chasher finds which of the provided input values should be handled by the current workerIndex based on the provided workerCount.

func NewChasher

func NewChasher(workerCount, workerIndex int) *Chasher

func (*Chasher) IsAssignedToCurrentWorker

func (c *Chasher) IsAssignedToCurrentWorker(testValue string) bool

Directories

Path Synopsis
cmd
chash command

Jump to

Keyboard shortcuts

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