Documentation ¶
Index ¶
- type BloomFilter
- func (filter *BloomFilter) Add(bucket string, key []byte) error
- func (filter *BloomFilter) CheckThenAdd(bucket string, key []byte) (b bool, err error)
- func (filter *BloomFilter) Close() error
- func (filter *BloomFilter) Delete(bucket string, key []byte) error
- func (filter *BloomFilter) Exists(bucket string, key []byte) bool
- func (filter *BloomFilter) Open() error
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) CheckThenAdd ¶
func (filter *BloomFilter) CheckThenAdd(bucket string, key []byte) (b bool, err error)
func (*BloomFilter) Close ¶
func (filter *BloomFilter) Close() error
func (*BloomFilter) Open ¶
func (filter *BloomFilter) Open() error
Click to show internal directories.
Click to hide internal directories.