wheb-redis-0.0.1.0: Redis connection for Wheb

Safe HaskellNone
LanguageHaskell2010

Web.Wheb.Plugins.Redis

Synopsis

Documentation

runRedis :: (RedisApp g, MonadIO m) => Redis a -> WhebT g s m a Source

Run a Redis command inside of WhebT

initRedis :: MonadIO m => ConnectInfo -> InitM g s m RedisContainer Source

Initialize Redis.

initRedisCache :: MonadIO m => ConnectInfo -> InitM g s m RedisCacheContainer Source

Initialize a container for using redis as a cache. You will probably have a different DB and settings for your data and cache so this is broken out.

data RedisCacheContainer Source

A seperate instance for cache