apiary-memcached-1.2.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 prms m a Source

cache

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

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