Versions in this module Expand all Collapse all v1 v1.12.6 Jun 4, 2024 Changes in this version + type Generator struct + func NewGenerator(sections uint) (*Generator, error) + func (b *Generator) AddBloom(index uint, bloom types.Bloom) error + func (b *Generator) Bitset(idx uint) ([]byte, error) + type Matcher struct + func NewMatcher(sectionSize uint64, filters [][][]byte) *Matcher + func (m *Matcher) Start(ctx context.Context, begin, end uint64, results chan uint64) (*MatcherSession, error) + type MatcherSession struct + func (s *MatcherSession) Close() + func (s *MatcherSession) Error() error + func (s *MatcherSession) Multiplex(batch int, wait time.Duration, mux chan chan *Retrieval) + type Retrieval struct + Bit uint + Bitsets [][]byte + Context context.Context + Error error + Sections []uint64