BloomFilter

package
v0.0.0-...-872e689 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type HashFunc

type HashFunc func(string) uint

type RedisBloom

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

func NewRedisBloom

func NewRedisBloom(key string) *RedisBloom

func (*RedisBloom) Add

func (redisBloom *RedisBloom) Add(str string) error

func (*RedisBloom) Clear

func (redisBloom *RedisBloom) Clear()

func (*RedisBloom) IsExist

func (redisBloom *RedisBloom) IsExist(str string) bool

func (*RedisBloom) ValidBitOffset

func (redisBloom *RedisBloom) ValidBitOffset(old uint) uint

Jump to

Keyboard shortcuts

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