# Functions

NewCfClient creates a new client instance that connects to CF with the default configuration.
No description provided by the author
WithAnalyticsEnabled en/disable cache and analytics data being sent.
WithAuthRetryStrategy sets the backoff and retry strategy for client authentication requests Mainly used for testing purposes, as the SDKs default backoff strategy should be sufficient for most if not all scenarios.
WithCache set custom cache or predefined one from cache package.
WithEventStreamListener configures the SDK to forward Events from the Feature Flag server to the passed EventStreamListener.
WithEventsURL set eventsURL for communicating with ff server.
WithHTTPClient set auth and http client for use in interactions with ff server.
WithLogger set custom logger used in main application.
WithMaxAuthRetries sets how many times the SDK will retry if authentication fails.
WithProxyMode should be used when the SDK is being used inside the ff proxy to control the cache and handle sse events.
WithPullInterval set pulling interval in minutes.
WithSeenTargetsClearInterval sets the clearing interval for the seen targets map.
WithSeenTargetsMaxSize sets the maximum size for the seen targets map.
WithSleeper is used to aid in testing functionality that sleeps.
WithStore set custom storage or predefined one from storage package.
WithStoreEnabled set store on or off.
WithStreamEnabled set stream on or off.
WithTarget sets target.
WithURL set baseUrl for communicating with ff server.
WithWaitForInitialized configures the SDK to block the thread until initialization succeeds or fails.

# Variables

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

# Structs

CfClient is the Feature Flag client.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

ConfigOption is used as return value for advanced client configuration using options pattern.
HeadersFn is a function type that provides headers dynamically.