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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewMetricWrapper builds new wrapper.

# Constants

MySegmentsCounter counters.
MySegmentsLatency latencies.
PostEventsCounter counter.
PostEventsLatency latencies.
SegmentChangesCounter counters.
SegmentChangesLatency latencies.
SplitChangesCounter counters.
SplitChangesLatency latencies.
TestImpressionsCounter counter.
TestImpressionsLatency latencies.

# Structs

MetricWrapper struct.

# Interfaces

EventsStorage wraps consumer and producer interfaces.
EventStorageConsumer interface should be implemented by structs that offer popping impressions.
EventStorageProducer interface should be implemented by structs that accept incoming events.
ImpressionStorage wraps consumer & producer interfaces.
ImpressionStorageConsumer interface should be implemented by structs that offer popping impressions.
ImpressionStorageProducer interface should be impemented by structs that accept incoming impressions.
MetricsStorage wraps consumer and producer interfaces.
MetricsStorageConsumer interface should be implemented by structs that offer popping metrics.
MetricsStorageProducer interface should be impemented by structs that accept incoming metrics.
SegmentStorage wraps consumer and producer interfaces.
SegmentStorageConsumer interface should be implemented by all structs that ofer reading segments.
SegmentStorageProducer interface should be implemented by all structs that offer writing segments.
SplitStorage wraps consumer & producer interfaces.
SplitStorageConsumer should be implemented by structs that offer reading splits from storage.
SplitStorageProducer should be implemented by structs that offer writing splits in storage.