Versions in this module Expand all Collapse all v1 v1.0.0 Nov 7, 2021 Changes in this version + func SetCompressor(c Compressor) + type BloomFilter struct + Config Config + Current *filter.BloomFilter + Next *filter.BloomFilter + Previous *filter.BloomFilter + func New(ctx context.Context, cfg Config) *BloomFilter + func (bs *BloomFilter) Add(elem []byte) + func (bs *BloomFilter) Check(elem []byte) bool + func (bs *BloomFilter) Close() + func (bs *BloomFilter) MarshalBinary() ([]byte, error) + func (bs *BloomFilter) Union(that interface{}) (float64, error) + func (bs *BloomFilter) UnmarshalBinary(data []byte) error + type Compressor interface + NewReader func(io.Reader) (io.Reader, error) + NewWriter func(io.Writer) io.WriteCloser + type Config struct + TTL uint + type Gzip int + func (g *Gzip) NewReader(r io.Reader) (io.Reader, error) + func (g *Gzip) NewWriter(w io.Writer) io.WriteCloser + type SerializableBloomFilter struct + Config Config + Current *filter.BloomFilter + Next *filter.BloomFilter + Previous *filter.BloomFilter