Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer interface { Alloc(n int) []byte Write(p []byte) (n int, err error) WriteByte(c byte) error }
Buffer is the interface that wraps basic Alloc, Write and WriteByte methods.
type Filter ¶
type Filter interface { Name() string NewGenerator() FilterGenerator Contains(filter, key []byte) bool }
Filter is the filter.
func NewBloomFilter ¶
NewBloomFilter creates a new initialized bloom filter for given
type FilterGenerator ¶
FilterGenerator is the filter generator.
Click to show internal directories.
Click to hide internal directories.