Safe Haskell | None |
---|---|
Language | Haskell2010 |
Web.Apiary.Memcached
Contents
- data Memcached
- data CacheConfig = CacheConfig {
- cacheFlags :: Key -> Flags
- cacheExpiry :: Expiry
- cacheNotHitExpiry :: Expiry
- data MemcachedConfig = MemcachedConfig {}
- initMemcached :: MonadBaseControl IO m => MemcachedConfig -> Initializer' m Memcached
- initHerokuMemcached :: (Has Heroku exts, MonadBaseControl IO m) => MemcachedConfig -> Initializer m exts (Memcached : exts)
- memcached :: (Has Memcached exts, MonadIO m) => (Connection -> IO a) -> ActionT exts m a
- cache :: (MonadIO m, Has Memcached exts) => Key -> ActionT exts m Value -> ActionT exts m Value
- cacheMaybe :: (MonadIO m, Has Memcached exts) => Key -> ActionT exts m (Maybe Value) -> ActionT exts m (Maybe Value)
Documentation
data CacheConfig Source
Constructors
CacheConfig | |
Fields
|
Instances
initializer
initMemcached :: MonadBaseControl IO m => MemcachedConfig -> Initializer' m Memcached Source
initHerokuMemcached :: (Has Heroku exts, MonadBaseControl IO m) => MemcachedConfig -> Initializer m exts (Memcached : exts) Source
initialize memcached extension using heroku service.
compatile:
- Memcachier
- Memcache cloud