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

# Functions

NewEventsStorage returns an instance of RedisEventsStorage.
NewEventStorageConsumer storage for consumer.
No description provided by the author
NewImpressionStorage creates a new RedisSplitStorage and returns a reference to it.
NewMiscStorage creates a new MiscStorageAdapter and returns a reference to it.
NewRedisClient returns a new Prefixed Redis Client.
NewSegmentStorage creates a new RedisSegmentStorage and returns a reference to it TODO(mredolatti): This should return the concrete type, not the implementation.
NewSplitStorage creates a new RedisSplitStorage and returns a reference to it.
NewTelemetryStorage creates a new RedisTelemetryStorage and returns a reference to it.
No description provided by the author

# Constants

No description provided by the author
ErrorHashNotPresent constant.
exception field template.
Exception field section indexes.
Exception field section indexes.
Exception field section indexes.
Exception field section indexes.
latency field template.
Latency field section indexes.
Latency field section indexes.
Latency field section indexes.
Latency field section indexes.
Latency field section indexes.
FieldSeparator constant.
Split redis keys, fields & TTLs.
hash key.
config Key.
events LIST key.
exception Key.
flagSet object.
impressions count.
impressions LIST key.
TODO(mredolatti): when doing a breking change, name this `KeyConfig`, and rename `KeyConfig` to `KeyConfigLegacy`, or even better, remove the old one, so that it only exists in the split-sync.
latency Key.
segment object.
last segment fetch.
split object.
last split fetch.
traffic Type fetch.
Unique keys.
Latency hash-key indexes.
Latency hash-key indexes.
Latency hash-key indexes.
config TTL.
impressions default TTL.
Uniquekeys TTL.

# Variables

Public errors.
Redis initialization erorrs.
Redis initialization erorrs.
Redis initialization erorrs.

# Structs

EventsStorage redis implementation of EventsStorage interface.
No description provided by the author
ImpressionStorage is a redis-based implementation of split storage.
MiscStorage provides methods to handle the synchronizer's initialization procedure.
SegmentStorage is a redis implementation of a storage for segments.
SegmentUpdateError includes possible failures when adding and removing keys from a segment.
SplitStorage is a redis-based implementation of split storage.
TelemetryStorage is a redis-based implementation of telemetry storage.
No description provided by the author
UpdateError contains information on what splits failed to be added/removed and why.