launchdarkly-server-sdk-redis-hedis-1.0.0: LaunchDarkly Server-Side SDK - Redis Integration
Safe HaskellSafe-Inferred
LanguageHaskell2010

LaunchDarkly.Server.Store.Redis

Description

The public interface for the LaunchDarkly Haskell Redis integration

Synopsis

Documentation

data RedisStoreConfig Source #

Opaque type used to configure the Redis store integration.

makeRedisStoreConfig :: Connection -> RedisStoreConfig Source #

Create a default config from a given connection pool.

redisConfigSetNamespace :: Text -> RedisStoreConfig -> RedisStoreConfig Source #

Configure the Redis key prefix. All keys are prefixed by default before being inserted into Redis. The default prefix is "launchdarkly".

makeRedisStore :: RedisStoreConfig -> IO PersistentDataStore Source #

Construct a PersistentDataStore that can then be used during SDK configuration.