Versions in this module Expand all Collapse all v1 v1.0.1 Oct 31, 2024 Changes in this version + type GroupedSet struct + func NewGroupedSet(maxGroups, maxSetSize int) *GroupedSet + func (gs *GroupedSet) Add(g uint64, namespace, v []byte) (bool, error) + func (gs *GroupedSet) Contains(g uint64, namespace, v []byte) (bool, error) + func (gs *GroupedSet) RemoveGroupsLessThan(group uint64) bool + type Set struct + func NewSet(maxSize int) *Set + func (ss *Set) Clear() + func (ss *Set) Contains(namespace, v []byte) (bool, error) + func (ss *Set) ContainsOrAdd(namespace, v []byte) (bool, error)