Versions in this module Expand all Collapse all v1 v1.4.0 May 26, 2021 Changes in this version + func SetCompressor(c Compressor) + type Bloomfilter struct + Config Config + Current *baseBloomfilter.Bloomfilter + Next *baseBloomfilter.Bloomfilter + Previous *baseBloomfilter.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 SerializibleBloomfilter struct + Config Config + Current *baseBloomfilter.Bloomfilter + Next *baseBloomfilter.Bloomfilter + Previous *baseBloomfilter.Bloomfilter Other modules containing this package github.com/devopsfaith/bloomfilter/v2