freckle-memcached-0.0.0.2: Some extensions to the memcache library
Safe HaskellSafe-Inferred
LanguageGHC2021

Freckle.App.Memcached.Client

Synopsis

Documentation

set :: (MonadUnliftIO m, MonadTracer m, MonadReader env m, HasMemcachedClient env) => CacheKey -> Value -> CacheTTL -> m () Source #

Set a value to expire in the given seconds

Pass 0 to set a value that never expires.

delete :: (MonadUnliftIO m, MonadTracer m, MonadReader env m, HasMemcachedClient env) => CacheKey -> m () Source #

Delete a key