Package Usage: go: github.com/launchdarkly/go-server-sdk-redis-redigo
Package ldredis provides a Redis-backed persistent data store for the LaunchDarkly Go SDK.
For more details about how and why you can use a persistent data store, see:
https://docs.launchdarkly.com/v2.0/docs/using-a-persistent-feature-store
To use the Redis data store with the LaunchDarkly client:
The default Redis pool configuration uses an address of localhost:6379, a maximum of 16
concurrent connections, and blocking connection requests. You may customize the configuration
by using the methods of the ldredis.DataStoreBuilder returned by ldredis.DataStore():
Note that CacheSeconds() is not a method of ldredis.DataStoreBuilder, but rather a method of
ldcomponents.PersistentDataStore(), because the caching behavior is provided by the SDK for
all database integrations.
For advanced customization of the underlying Redigo client, use the DialOptions or Pool
options with ldredis.DataStore(). Note that some Redis client features can also be
specified as part of the URL: Redigo supports the redis:// syntax
(https://www.iana.org/assignments/uri-schemes/prov/redis), which can include a password
and a database number, as well as rediss:// (https://www.iana.org/assignments/uri-schemes/prov/rediss),
which enables TLS.
If you are also using Redis for other purposes, the data store can coexist with
other data as long as you are not using the same keys. By default, the keys used by the
data store will always start with "launchdarkly:"; you can change this to another
prefix if desired.
7 versions
Latest release: over 2 years ago
2 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/launchdarkly/go-server-sdk-redis-redigo
View more repository details: http://repos.ecosyste.ms/hosts/GitHub/repositories/launchdarkly%2Fgo-server-sdk-redis-redigo
Dependent Repos 1
launchdarkly/ld-relay
LaunchDarkly Relay ProxySize: 11.1 MB - Last synced: 18 days ago - Pushed: 18 days ago

sw-square/ld-relay Fork of launchdarkly/ld-relay
LaunchDarkly Relay ProxySize: 8.26 MB - Last synced: over 1 year ago - Pushed: over 2 years ago

abhishekdas29/ld-relay Fork of launchdarkly/ld-relay
LaunchDarkly Relay ProxySize: 8.72 MB - Last synced: over 1 year ago - Pushed: over 3 years ago
