impl

package
v0.0.0-...-ab4a820 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BloomFilter

type BloomFilter struct {
	PersistFileName string

	ProbItems int
	// contains filtered or unexported fields
}

func (*BloomFilter) Add

func (filter *BloomFilter) Add(bucket string, key []byte) error

func (*BloomFilter) CheckThenAdd

func (filter *BloomFilter) CheckThenAdd(bucket string, key []byte) (b bool, err error)

func (*BloomFilter) Close

func (filter *BloomFilter) Close() error

func (*BloomFilter) Delete

func (filter *BloomFilter) Delete(bucket string, key []byte) error

func (*BloomFilter) Exists

func (filter *BloomFilter) Exists(bucket string, key []byte) bool

func (*BloomFilter) Open

func (filter *BloomFilter) Open() error

Jump to

Keyboard shortcuts

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