proxy.golang.org : github.com/launchdarkly/go-server-sdk-redis-redigo/v3 : v3.0.0
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 StoreBuilder returned by DataStore: Note that CacheSeconds() is not a method of StoreBuilder, 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 StoreBuilder methods such as StoreBuilder.DialOptions and StoreBuilder.Pool. 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.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/launchdarkly/go-server-sdk-redis-redigo/[email protected]
Published:
Indexed:
- github.com/davecgh/go-spew v1.1.1
- github.com/gomodule/redigo v1.8.2
- github.com/google/uuid v1.1.1
- github.com/gregjones/httpcache v0.0.0-20171119193500-2bcd89a1743f
- github.com/josharian/intern v1.0.0
- github.com/launchdarkly/ccache v1.1.0
- github.com/launchdarkly/eventsource v1.6.2
- github.com/launchdarkly/go-jsonstream/v3 v3.0.0
- github.com/launchdarkly/go-sdk-common/v3 v3.1.0
- github.com/launchdarkly/go-sdk-events/v3 v3.0.0
- github.com/launchdarkly/go-semver v1.0.2
- github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.0
- github.com/launchdarkly/go-server-sdk/v7 v7.0.0
- github.com/launchdarkly/go-test-helpers/v2 v2.3.1
- github.com/launchdarkly/go-test-helpers/v3 v3.0.2
- github.com/mailru/easyjson v0.7.6
- github.com/patrickmn/go-cache v2.1.0+incompatible
- github.com/pmezard/go-difflib v1.0.0
- github.com/stretchr/testify v1.7.0
- golang.org/x/exp v0.0.0-20220823124025-807a23277127
- golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
- gopkg.in/yaml.v3 v3.0.0