yam-redis-0.6.2: Yam Redis Middleware

Copyright(c) 2019 Daniel YU
LicenseBSD3
Maintainerleptonyu@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Yam.Redis

Contents

Description

Redis supports for yam.

Synopsis

Documentation

type HasRedis cxt = (HasLogger cxt, HasContextEntry cxt REDIS) Source #

Middleware context.

data REDIS Source #

Middleware context type.

runR :: (MonadIO m, HasRedis cxt) => Redis (Either Reply a) -> AppT cxt m a Source #

Orphan instances

Default ConnectInfo Source # 
Instance details

Methods

def :: ConnectInfo #

FromProp ConnectInfo Source # 
Instance details

FromProp PortID Source # 
Instance details

Methods

fromProp :: Prop PortID #

(HasRedis cxt, MonadIO m) => MonadRedis (AppT cxt m) Source # 
Instance details

Methods

liftRedis :: Redis a -> AppT cxt m a #