apiary-memcached-0.17.0.0: memcached client for apiary web framework.

Safe HaskellNone
LanguageHaskell2010

Web.Apiary.Memcached

Contents

Synopsis

Documentation

initializer

initHerokuMemcached :: (Has Heroku exts, MonadBaseControl IO m) => MemcachedConfig -> Initializer m exts (Memcached : exts) Source

initialize memcached extension using heroku service.

compatile:

  • Memcachier
  • Memcache cloud

raw query

memcached :: (Has Memcached exts, MonadIO m) => (Connection -> IO a) -> ActionT exts m a Source

cache

cache :: (MonadIO m, Has Memcached exts) => Key -> ActionT exts m Value -> ActionT exts m Value Source

cacheMaybe :: (MonadIO m, Has Memcached exts) => Key -> ActionT exts m (Maybe Value) -> ActionT exts m (Maybe Value) Source