Versions in this module Expand all Collapse all v8 v8.0.0 Nov 10, 2025 Changes in this version + type LargeSegmentsStorageImpl struct + func NewLargeSegmentsStorage() *LargeSegmentsStorageImpl + func (s *LargeSegmentsStorageImpl) ChangeNumber(name string) int64 + func (s *LargeSegmentsStorageImpl) Count() int + func (s *LargeSegmentsStorageImpl) IsInLargeSegment(name string, key string) (bool, error) + func (s *LargeSegmentsStorageImpl) LargeSegmentsForUser(userKey string) []string + func (s *LargeSegmentsStorageImpl) SetChangeNumber(name string, till int64) + func (s *LargeSegmentsStorageImpl) TotalKeys(name string) int + func (s *LargeSegmentsStorageImpl) Update(name string, userKeys []string, till int64) + type MMSegmentStorage struct + func NewMMSegmentStorage() *MMSegmentStorage + func (m *MMSegmentStorage) ChangeNumber(segmentName string) (int64, error) + func (m *MMSegmentStorage) Keys(segmentName string) *set.ThreadUnsafeSet + func (m *MMSegmentStorage) SegmentContainsKey(segmentName string, key string) (bool, error) + func (m *MMSegmentStorage) SegmentKeysCount() int64 + func (m *MMSegmentStorage) SetChangeNumber(name string, till int64) error + func (m *MMSegmentStorage) Update(name string, toAdd *set.ThreadUnsafeSet, toRemove *set.ThreadUnsafeSet, ...) error + type MMSplitStorage struct + func NewMMSplitStorage(flagSetFilter flagsets.FlagSetFilter) *MMSplitStorage + func (m *MMSplitStorage) All() []dtos.SplitDTO + func (m *MMSplitStorage) ChangeNumber() (int64, error) + func (m *MMSplitStorage) FetchMany(splitNames []string) map[string]*dtos.SplitDTO + func (m *MMSplitStorage) GetAllFlagSetNames() []string + func (m *MMSplitStorage) GetNamesByFlagSets(sets []string) map[string][]string + func (m *MMSplitStorage) KillLocally(splitName string, defaultTreatment string, changeNumber int64) + func (m *MMSplitStorage) LargeSegmentNames() *set.ThreadUnsafeSet + func (m *MMSplitStorage) Remove(splitName string) + func (m *MMSplitStorage) ReplaceAll(toAdd []dtos.SplitDTO, changeNumber int64) error + func (m *MMSplitStorage) RuleBasedSegmentNames() *set.ThreadUnsafeSet + func (m *MMSplitStorage) SegmentNames() *set.ThreadUnsafeSet + func (m *MMSplitStorage) SetChangeNumber(till int64) error + func (m *MMSplitStorage) Split(splitName string) *dtos.SplitDTO + func (m *MMSplitStorage) SplitNames() []string + func (m *MMSplitStorage) TrafficTypeExists(trafficType string) bool + func (m *MMSplitStorage) Update(toAdd []dtos.SplitDTO, toRemove []dtos.SplitDTO, till int64) + type RuleBasedSegmentsStorageImpl struct + func NewRuleBasedSegmentsStorage() *RuleBasedSegmentsStorageImpl + func (m *RuleBasedSegmentsStorageImpl) FetchMany(rbsNames []string) map[string]*dtos.RuleBasedSegmentDTO + func (r *RuleBasedSegmentsStorageImpl) All() []dtos.RuleBasedSegmentDTO + func (r *RuleBasedSegmentsStorageImpl) ChangeNumber() (int64, error) + func (r *RuleBasedSegmentsStorageImpl) Contains(ruleBasedSegmentNames []string) bool + func (r *RuleBasedSegmentsStorageImpl) GetRuleBasedSegmentByName(name string) (*dtos.RuleBasedSegmentDTO, error) + func (r *RuleBasedSegmentsStorageImpl) LargeSegments() *set.ThreadUnsafeSet + func (r *RuleBasedSegmentsStorageImpl) ReplaceAll(toAdd []dtos.RuleBasedSegmentDTO, changeNumber int64) error + func (r *RuleBasedSegmentsStorageImpl) RuleBasedSegmentNames() ([]string, error) + func (r *RuleBasedSegmentsStorageImpl) Segments() *set.ThreadUnsafeSet + func (r *RuleBasedSegmentsStorageImpl) SetChangeNumber(till int64) error + func (r *RuleBasedSegmentsStorageImpl) Update(toAdd []dtos.RuleBasedSegmentDTO, toRemove []dtos.RuleBasedSegmentDTO, ...) error Other modules containing this package github.com/splitio/go-split-commons/v3 github.com/splitio/go-split-commons/v4 github.com/splitio/go-split-commons/v5 github.com/splitio/go-split-commons/v6 github.com/splitio/go-split-commons/v7