Safe Haskell | None |
---|---|
Language | Haskell2010 |
System.Nix.Store.Remote.Types
Documentation
type MonadStore a = ExceptT String (StateT (Maybe ByteString, [Logger]) (ReaderT StoreConfig IO)) a Source #
data StoreConfig Source #
Constructors
StoreConfig | |
Fields
|
Constructors
Next ByteString | |
Read Int | |
Write ByteString | |
Last | |
Error Int ByteString | |
StartActivity ActivityID Verbosity ActivityType ByteString [Field] ActivityParentID | |
StopActivity ActivityID | |
Result ActivityID ResultType [Field] |
Constructors
LogStr ByteString | |
LogInt Int |
getLog :: MonadStore [Logger] Source #
flushLog :: MonadStore () Source #
getError :: MonadStore [Logger] Source #
setData :: ByteString -> MonadStore () Source #
clearData :: MonadStore () Source #