Versions in this module Expand all Collapse all v1 v1.1.0 Jul 26, 2019 v1.0.0 Jul 17, 2019 Changes in this version + func BucketSize(s uint8) option + func FingerprintSize(s uint8) option + func HashFn(hashfn hash.Hash) option + func MaximumKicks(k uint) option + func Size(s uint) option + type CFilter struct + func NewCuckooFilter(opts ...option) *CFilter + func (f *CFilter) Count() uint + func (f *CFilter) Delete(item []byte) bool + func (f *CFilter) Insert(item []byte) bool + func (f *CFilter) Lookup(item []byte) bool + type CuckooFilter struct + func New(opts ...option) *CuckooFilter + func (f *CuckooFilter) Count() uint + func (f *CuckooFilter) Delete(item []byte) bool + func (f *CuckooFilter) Insert(item []byte) bool + func (f *CuckooFilter) Lookup(item []byte) bool + func (f *CuckooFilter) Update(filter *CFilter)