# Functions
MakeCacheKey creates and returns cacheKey.
NewSegmentAPIManager creates and returns a new instance of DefaultSegmentAPIManager.
NewSegmentManager creates and returns a new instance of DefaultSegmentManager.
TranslateOptions converts string options array to array of OptimizelySegmentOptions.
WithAPIManager sets segmentAPIManager as a config option to be passed into the NewSegmentManager method.
WithSegmentsCache sets cache option to be passed into the NewSegmentManager method.
WithSegmentsCacheSize sets segmentsCacheSize option to be passed into the NewSegmentManager method.
WithSegmentsCacheTimeout sets segmentsCacheTimeout option to be passed into the NewSegmentManager method default value is 600s.
# Structs
Audience represents an ODP Audience.
DefaultSegmentAPIManager represents default implementation of Segment API Manager.
DefaultSegmentManager represents default implementation of odp segment manager.
# Interfaces
APIManager represents the segment API manager.
Manager represents the odp segment manager.
# Type aliases
OptimizelySegmentOption represents options controlling audience segments.
SMOptionFunc are the SegmentManager options that give you the ability to add one more more options before the segment manager is initialized.