hashtag

package
v6.9.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const SlotNumber = 16384

Variables

This section is empty.

Functions

func Key

func Key(key string) string

func RandomSlot

func RandomSlot() int

func Slot

func Slot(key string) int

hashSlot returns a consistent slot number between 0 and 16383 for any given string key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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