haskoin-store-1.5.5: Storage and index for Bitcoin and Bitcoin Cash
Safe HaskellNone
LanguageHaskell2010

Haskoin.Store.Cache

Documentation

data CacheConfig Source #

Constructors

CacheConfig 

Instances

Instances details
StoreReadBase m => StoreReadBase (CacheT m) Source # 
Instance details

Defined in Haskoin.Store.Cache

(MonadUnliftIO m, MonadLoggerIO m, StoreReadExtra m) => StoreReadExtra (CacheT m) Source # 
Instance details

Defined in Haskoin.Store.Cache

data CacheError Source #

Instances

Instances details
Exception CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

Generic CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

Associated Types

type Rep CacheError 
Instance details

Defined in Haskoin.Store.Cache

type Rep CacheError = D1 ('MetaData "CacheError" "Haskoin.Store.Cache" "haskoin-store-1.5.5-J3pMmM9S0CnEb84iiRYU83" 'False) (C1 ('MetaCons "RedisError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Reply)) :+: (C1 ('MetaCons "RedisTxError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String)) :+: C1 ('MetaCons "LogicError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String))))
Show CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

NFData CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

Methods

rnf :: CacheError -> () #

Eq CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

type Rep CacheError Source # 
Instance details

Defined in Haskoin.Store.Cache

type Rep CacheError = D1 ('MetaData "CacheError" "Haskoin.Store.Cache" "haskoin-store-1.5.5-J3pMmM9S0CnEb84iiRYU83" 'False) (C1 ('MetaCons "RedisError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Reply)) :+: (C1 ('MetaCons "RedisTxError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String)) :+: C1 ('MetaCons "LogicError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String))))

type CacheWriter = Mailbox CacheWriterMessage Source #

type CacheWriterInbox = Inbox CacheWriterMessage Source #

isInCache :: forall (m :: Type -> Type). MonadLoggerIO m => XPubSpec -> CacheT m Bool Source #