Documentation ¶
Overview ¶
Package hash provides hash functions
Index ¶
Constants ¶
View Source
const DefaultHashFuncName = "murmur3"
DefaultHashFuncName is the name of murmur3 hash function.
Variables ¶
This section is empty.
Functions ¶
func RegisterHashFunc ¶
func RegisterHashFunc(name string, hashFunc HashFuncWithSeed)
RegisterHashFunc 注册hash函数
Types ¶
type HashFuncWithSeed ¶
HashFuncWithSeed 可接受种子的hash函数
Click to show internal directories.
Click to hide internal directories.