package
2.0.1
Repository: https://github.com/splitio/go-split-commons.git
Documentation: pkg.go.dev

# Functions

NewControlNotification builds a notification for controlling connection.
NewCounterDataBulk creates a new Counter holding structure.
NewGaugeDataBulk creates a new Gauge holding structure.
NewLatencyDataBulk creates a new Latency holding structure.
NewMySegmentsNotification builds a MySegments notification.
NewSegmentChangeNotification builds a segment change notification.
NewSplitChangeNotification builds a split change notification.
NewSplitKillNotification builds a killed split notification.

# Constants

Control for control.
MySegmentsUpdate used when mySegment is updated.
SegmentUpdate used when segment is updated.
SplitKill used when split is killed.
SplitUpdate used when split is updated.
StreamingDisabled for controlType.
StreamingPause for controlType.
StreamingResumed for controlType.

# Structs

BetweenMatcherDataDTO structure to map a Matcher definition fetched from JSON message.
ConditionDTO structure to map a Condition fetched from JSON message.
ControlNotification notification for control channels.
CounterDataBulk holds all counters fetched from storage sorted properly.
CounterDTO struct mapping counts post.
DependencyMatcherDataDTO structure to map matcher definition fetched from JSON message.
EventDTO struct mapping events json.
GaugeDataBulk holds all gauges fetched from storage sorted properly.
GaugeDTO struct mapping gauges post.
HTTPError represents a http error.
Impression struct to map an impression.
ImpressionDTO struct to map an impression.
ImpressionQueueObject struct mapping impressions.
ImpressionsCountDTO struct mapping impressions count to post.
ImpressionsDTO struct mapping impressions to post.
ImpressionsInTimeFrameDTO struct mapping impressionsCount in time window.
IncomingNotification struct for incoming notification from streaming.
KeySelectorDTO structure to map a Key slector definition fetched from JSON message.
LatenciesDTO struct mapping latencies post.
LatencyDataBulk holds all latencies fetched from storage sorted properly.
MatcherDTO structure to map a Matcher definition fetched from JSON message.
MatcherGroupDTO structure to map a Matcher Group definition fetched from JSON message.
Metadata is used to store sdk metadata.
MySegmentDTO struct mapping segment data for mySegments endpoint.
MySegmentsNotification notification when MySegments is updated.
PartitionDTO structure to map a Partition definition fetched from JSON message.
QueueStoredEventDTO maps the stored JSON object in redis by SDKs.
SegmentChangeNotification notification when a Segment is updated.
SegmentChangesDTO struct to map a segment change message.
SegmentKeyDTO maps key data.
SplitChangeNotification notification to send a fetch to splitChanges.
SplitChangesDTO structure to map JSON message sent by Split servers.
SplitDTO structure to map an Split definition fetched from JSON message.
SplitKillNotification notification when Split is killed.
Token dto.
TokenPayload payload dto.
UnaryNumericMatcherDataDTO structure to map a Matcher definition fetched from JSON message.
UserDefinedSegmentMatcherDataDTO structure to map a Matcher definition fetched from JSON message.
WhitelistMatcherDataDTO structure to map a Matcher definition fetched from JSON message.

# Interfaces

Notification should be implemented by all notification types.

# Type aliases

ParsedCapabilities capabilities.