Versions in this module Expand all Collapse all v2 v2.0.1 Dec 22, 2020 v2.0.0 Oct 6, 2020 Changes in this version + const Control + const MySegmentsUpdate + const SegmentUpdate + const SplitKill + const SplitUpdate + const StreamingDisabled + const StreamingPause + const StreamingResumed + type BetweenMatcherDataDTO struct + DataType string + End int64 + Start int64 + type ConditionDTO struct + ConditionType string + Label string + MatcherGroup MatcherGroupDTO + Partitions []PartitionDTO + type ControlNotification struct + ControlType string + func NewControlNotification(channelName string, controlType string) ControlNotification + func (b ControlNotification) ChannelName() string + func (b ControlNotification) NotificationType() string + type CounterDTO struct + Count int64 + MetricName string + type CounterDataBulk struct + func NewCounterDataBulk() *CounterDataBulk + func (l *CounterDataBulk) ForEach(callback func(string, string, map[string]int64)) + func (l *CounterDataBulk) PutCounter(sdk string, machineIP string, metricName string, value int64) + type DependencyMatcherDataDTO struct + Split string + Treatments []string + type EventDTO struct + EventTypeID string + Key string + Properties map[string]interface{} + Timestamp int64 + TrafficTypeName string + Value interface{} + func (e *EventDTO) Size() int + type GaugeDTO struct + Gauge float64 + MetricName string + type GaugeDataBulk struct + func NewGaugeDataBulk() *GaugeDataBulk + func (l *GaugeDataBulk) ForEach(callback func(string, string, string, float64)) + func (l *GaugeDataBulk) PutGauge(sdk string, machineIP string, metricName string, value float64) + type HTTPError struct + Code int + Message string + func (h HTTPError) Error() string + type Impression struct + BucketingKey string + ChangeNumber int64 + FeatureName string + KeyName string + Label string + Pt int64 + Time int64 + Treatment string + type ImpressionDTO struct + BucketingKey string + ChangeNumber int64 + KeyName string + Label string + Pt int64 + Time int64 + Treatment string + type ImpressionQueueObject struct + Impression Impression + Metadata Metadata + type ImpressionsCountDTO struct + PerFeature []ImpressionsInTimeFrameDTO + type ImpressionsDTO struct + KeyImpressions []ImpressionDTO + TestName string + type ImpressionsInTimeFrameDTO struct + FeatureName string + RawCount int64 + TimeFrame int64 + type IncomingNotification struct + ChangeNumber *int64 + Channel string + ControlType *string + DefaultTreatment *string + SegmentName *string + SplitName *string + Timestamp *int64 + Type string + type KeySelectorDTO struct + Attribute *string + TrafficType string + type LatenciesDTO struct + Latencies []int64 + MetricName string + type LatencyDataBulk struct + func NewLatencyDataBulk() *LatencyDataBulk + func (l *LatencyDataBulk) ForEach(callback func(string, string, map[string][]int64)) + func (l *LatencyDataBulk) PutLatency(sdk string, machineIP string, metricName string, bucketNumber int, value int64) + type MatcherDTO struct + Between *BetweenMatcherDataDTO + Boolean *bool + Dependency *DependencyMatcherDataDTO + KeySelector *KeySelectorDTO + MatcherType string + Negate bool + String *string + UnaryNumeric *UnaryNumericMatcherDataDTO + UserDefinedSegment *UserDefinedSegmentMatcherDataDTO + Whitelist *WhitelistMatcherDataDTO + type MatcherGroupDTO struct + Combiner string + Matchers []MatcherDTO + type Metadata struct + MachineIP string + MachineName string + SDKVersion string + type MySegmentDTO struct + Name string + type MySegmentsNotification struct + ChangeNumber int64 + IncludesPayload bool + Payload []string + func NewMySegmentsNotification(channelName string, includesPayload bool, payload []string, changeNumber int64) MySegmentsNotification + func (b MySegmentsNotification) ChannelName() string + func (b MySegmentsNotification) NotificationType() string + type Notification interface + ChannelName func() string + NotificationType func() string + type ParsedCapabilities map[string][]string + type PartitionDTO struct + Size int + Treatment string + type QueueStoredEventDTO struct + Event EventDTO + Metadata Metadata + type SegmentChangeNotification struct + ChangeNumber int64 + SegmentName string + func NewSegmentChangeNotification(channelName string, changeNumber int64, segmentName string) SegmentChangeNotification + func (b SegmentChangeNotification) ChannelName() string + func (b SegmentChangeNotification) NotificationType() string + type SegmentChangesDTO struct + Added []string + Name string + Removed []string + Since int64 + Till int64 + type SegmentKeyDTO struct + LastModified int64 + Name string + Removed bool + type SplitChangeNotification struct + ChangeNumber int64 + func NewSplitChangeNotification(channelName string, changeNumber int64) SplitChangeNotification + func (b SplitChangeNotification) ChannelName() string + func (b SplitChangeNotification) NotificationType() string + type SplitChangesDTO struct + Since int64 + Splits []SplitDTO + Till int64 + type SplitDTO struct + Algo int + ChangeNumber int64 + Conditions []ConditionDTO + Configurations map[string]string + DefaultTreatment string + Killed bool + Name string + Seed int64 + Status string + TrafficAllocation int + TrafficAllocationSeed int64 + TrafficTypeName string + func (s SplitDTO) MarshalBinary() (data []byte, err error) + type SplitKillNotification struct + ChangeNumber int64 + DefaultTreatment string + SplitName string + func NewSplitKillNotification(channelName string, changeNumber int64, defaultTreatment string, ...) SplitKillNotification + func (b SplitKillNotification) ChannelName() string + func (b SplitKillNotification) NotificationType() string + type Token struct + PushEnabled bool + Token string + func (t *Token) CalculateNextTokenExpiration() (time.Duration, error) + func (t *Token) ChannelList() ([]string, error) + type TokenPayload struct + Capabilitites string + Exp int64 + Iat int64 + type UnaryNumericMatcherDataDTO struct + DataType string + Value int64 + type UserDefinedSegmentMatcherDataDTO struct + SegmentName string + type WhitelistMatcherDataDTO struct + Whitelist []string v2.0.0-rc1 Sep 21, 2020 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 github.com/splitio/go-split-commons/v8