Versions in this module Expand all Collapse all v8 v8.0.0 Nov 10, 2025 Changes in this version + type EventRecorderMock struct + func (e *EventRecorderMock) FlushEvents(bulkSize int64) error + func (e *EventRecorderMock) SynchronizeEvents(bulkSize int64) error + type ImpressionRecorderMock struct + func (r *ImpressionRecorderMock) FlushImpressions(bulkSize int64) error + func (r *ImpressionRecorderMock) SynchronizeImpressions(bulkSize int64) error + type LargeSegmentUpdaterMock struct + func (u *LargeSegmentUpdaterMock) IsCached(name string) bool + func (u *LargeSegmentUpdaterMock) SynchronizeLargeSegment(name string, till *int64) (*int64, error) + func (u *LargeSegmentUpdaterMock) SynchronizeLargeSegmentUpdate(lsRFDResponseDTO *dtos.LargeSegmentRFDResponseDTO) (*int64, error) + func (u *LargeSegmentUpdaterMock) SynchronizeLargeSegments() (map[string]*int64, error) + type MockSynchronizer struct + LocalKillCall func(string, string, int64) + RefreshRatesCall func() (time.Duration, time.Duration) + StartPeriodicDataRecordingCall func() + StartPeriodicFetchingCall func() + StopPeriodicDataRecordingCall func() + StopPeriodicFetchingCall func() + SyncAllCall func() error + SynchronizeFeatureFlagsCall func(ffChange *dtos.SplitChangeUpdate) error + SynchronizeLargeSegmentCall func(name string, till *int64) error + SynchronizeLargeSegmentUpdateCall func(lsRFDResponseDTO *dtos.LargeSegmentRFDResponseDTO) error + SynchronizeSegmentCall func(segmentName string, till *int64) error + func (m *MockSynchronizer) LocalKill(name string, treatment string, cn int64) + func (m *MockSynchronizer) RefreshRates() (time.Duration, time.Duration) + func (m *MockSynchronizer) StartPeriodicDataRecording() + func (m *MockSynchronizer) StartPeriodicFetching() + func (m *MockSynchronizer) StopPeriodicDataRecording() + func (m *MockSynchronizer) StopPeriodicFetching() + func (m *MockSynchronizer) SyncAll() error + func (m *MockSynchronizer) SynchronizeFeatureFlags(ffChange *dtos.SplitChangeUpdate) error + func (m *MockSynchronizer) SynchronizeLargeSegment(name string, till *int64) error + func (m *MockSynchronizer) SynchronizeLargeSegmentUpdate(lsRFDResponseDTO *dtos.LargeSegmentRFDResponseDTO) error + func (m *MockSynchronizer) SynchronizeSegment(segmentName string, till *int64) error + type SegmentUpdaterMock struct + func (u *SegmentUpdaterMock) IsSegmentCached(segmentName string) bool + func (u *SegmentUpdaterMock) SegmentNames() []interface{} + func (u *SegmentUpdaterMock) SynchronizeSegment(name string, till *int64) (*segment.UpdateResult, error) + func (u *SegmentUpdaterMock) SynchronizeSegments() (map[string]segment.UpdateResult, error) + type SplitUpdaterMock struct + func (u *SplitUpdaterMock) LocalKill(splitName string, defaultTreatment string, changeNumber int64) + func (u *SplitUpdaterMock) SynchronizeFeatureFlags(ffChange *dtos.SplitChangeUpdate) (*split.UpdateResult, error) + func (u *SplitUpdaterMock) SynchronizeSplits(till *int64) (*split.UpdateResult, error) Other modules containing this package github.com/splitio/go-split-commons/v2 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