Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data StoreLog (a :: IOMode)
- openWriteStoreLog :: FilePath -> IO (StoreLog 'WriteMode)
- openReadStoreLog :: FilePath -> IO (StoreLog 'ReadMode)
- closeStoreLog :: StoreLog a -> IO ()
- logCreateQueue :: StoreLog 'WriteMode -> QueueRec -> IO ()
- logSecureQueue :: StoreLog 'WriteMode -> QueueId -> SenderPublicKey -> IO ()
- logDeleteQueue :: StoreLog 'WriteMode -> QueueId -> IO ()
- readWriteStoreLog :: StoreLog 'ReadMode -> IO (Map RecipientId QueueRec, StoreLog 'WriteMode)
Documentation
data StoreLog (a :: IOMode) Source #
opaque container for file handle with a type-safe IOMode constructors are not exported, openWriteStoreLog and openReadStoreLog should be used instead
closeStoreLog :: StoreLog a -> IO () Source #
logSecureQueue :: StoreLog 'WriteMode -> QueueId -> SenderPublicKey -> IO () Source #