assign

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package assign contains hashing functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Random

func Random(_ string, cnt uint64) uint64

Random will return random number from [0...cnt) interval.

func Sticky

func Sticky(val string, cnt uint64) uint64

Sticky will return same number for the 2 same val's.

Types

This section is empty.

Jump to

Keyboard shortcuts

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