Documentation ¶
Index ¶
Constants ¶
View Source
const ( M = byteSize * 8 K = 2 )
Variables ¶
View Source
var NewWithEstimates = bloom.NewWithEstimates
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter = bloom.BloomFilter
func FromScrape ¶
func FromScrape(f dht.ScrapeBloomFilter) Filter
type StableBloomFilter ¶ added in v0.3.0
type StableBloomFilter struct {
boom.StableBloomFilter
}
func NewDefaultStableBloomFilter ¶ added in v0.3.0
func NewDefaultStableBloomFilter() *StableBloomFilter
func (*StableBloomFilter) Scan ¶ added in v0.3.0
func (s *StableBloomFilter) Scan(value interface{}) error
Click to show internal directories.
Click to hide internal directories.