Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- registryConf :: RegistryConf
- withRegistry :: (MonadIO m, MonadMask m) => FilePath -> (Registry -> m a) -> m a
- store :: FilePath -> Store (Producer ByteString IO ())
Registry
registryConf :: RegistryConf Source #
Command-line configuration for a Registry
stored as a file in the
filesystem using withRegistry
.
:: (MonadIO m, MonadMask m) | |
=> FilePath | File where to store the registry logs. An exclusive lock will be set on the this file (see |
-> (Registry -> m a) | |
-> m a |
Obtain a Registry
backed by an append-only file storage, using moto
's
own file format.