Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T struct { *bloom.BloomFilter // contains filtered or unexported fields }
T implements a liveset.Liveset using a concrete bloom filter. The bloom filter stores each digest according to its bytewise representation.
func (*T) Contains ¶
Contains tells whether the digest d is definitely in the set. Contains is not safe to call concurrently.
func (*T) MarshalJSON ¶
MarshalJSON serializes the liveset into JSON.
func (*T) UnmarshalJSON ¶
UnmarshalJSON deserializes the liveset from JSON.
Click to show internal directories.
Click to hide internal directories.