Versions in this module Expand all Collapse all v8 v8.0.0 Nov 10, 2025 Changes in this version + type DebugImpl struct + func (s *DebugImpl) Apply(impressions []dtos.Impression) ([]dtos.Impression, []dtos.Impression) + func (s *DebugImpl) ApplySingle(impression *dtos.Impression) bool + type ImpressionHasher interface + Process func(featureName string, impression *dtos.Impression) (int64, error) + type ImpressionHasherImpl struct + func (h *ImpressionHasherImpl) Process(featureName string, impression *dtos.Impression) (int64, error) + type ImpressionObserver interface + TestAndSet func(featureName string, impression *dtos.Impression) (int64, error) + type ImpressionObserverImpl struct + func NewImpressionObserver(size int) (*ImpressionObserverImpl, error) + func (o *ImpressionObserverImpl) TestAndSet(featureName string, impression *dtos.Impression) (int64, error) + type ImpressionObserverNoOp struct + func (o *ImpressionObserverNoOp) TestAndSet(featureName string, impression *dtos.Impression) (int64, error) + type ImpressionsCounter struct + func NewImpressionsCounter() *ImpressionsCounter + func (i *ImpressionsCounter) Inc(splitName string, timeFrame int64, amount int64) + func (i *ImpressionsCounter) PopAll() map[Key]int64 + func (i *ImpressionsCounter) Size() int + type Key struct + FeatureName string + TimeFrame int64 + type NoneImpl struct + func NewNoneImpl(impressionCounter *ImpressionsCounter, uniqueKeysTracker UniqueKeysTracker, ...) *NoneImpl + func (s *NoneImpl) Apply(impressions []dtos.Impression) ([]dtos.Impression, []dtos.Impression) + func (s *NoneImpl) ApplySingle(impression *dtos.Impression) bool + type OptimizedImpl struct + func (s *OptimizedImpl) Apply(impressions []dtos.Impression) ([]dtos.Impression, []dtos.Impression) + func (s *OptimizedImpl) ApplySingle(impression *dtos.Impression) bool + type ProcessStrategyInterface interface + Apply func(impressions []dtos.Impression) ([]dtos.Impression, []dtos.Impression) + ApplySingle func(impression *dtos.Impression) bool + func NewDebugImpl(impressionObserver ImpressionObserver, listenerEnabled bool) ProcessStrategyInterface + func NewOptimizedImpl(impressionObserver ImpressionObserver, impressionCounter *ImpressionsCounter, ...) ProcessStrategyInterface + type UniqueKeysTracker interface + PopAll func() dtos.Uniques + Track func(featureName string, key string) bool + func NewUniqueKeysTracker(f storage.Filter) UniqueKeysTracker + type UniqueKeysTrackerImpl struct + func (t *UniqueKeysTrackerImpl) PopAll() dtos.Uniques + func (t *UniqueKeysTrackerImpl) Track(featureName string, key string) bool Other modules containing this package github.com/splitio/go-split-commons/v4 github.com/splitio/go-split-commons/v5 github.com/splitio/go-split-commons/v6