package
0.0.0-20190708190747-0933bec82397
Repository: https://github.com/launchdarkly/go-client.git
Documentation: pkg.go.dev

# Functions

Address creates an option for NewConsulFeatureStore, to set the address of the Consul server.
CacheTTL creates an option for NewConsulFeatureStore, to specify how long flag data should be cached in memory to avoid rereading it from Consul.
Config creates an option for NewConsulFeatureStore, to specify an entire configuration for the Consul driver.
Logger creates an option for NewConsulFeatureStore, to specify where to send log output.
NewConsulFeatureStore creates a new Consul-backed feature store with an optional memory cache.
Prefix creates an option for NewConsulFeatureStore, to specify a prefix for namespacing the feature store's keys.

# Constants

DefaultCacheTTL is the amount of time that recently read or updated items will be cached in memory, unless you specify otherwise with the CacheTTL option.
DefaultPrefix is a string that is prepended (along with a slash) to all Consul keys used by the feature store.

# Interfaces

FeatureStoreOption is the interface for optional configuration parameters that can be passed to NewConsulFeatureStore.