Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- registryConf :: RegistryConf
- withRegistry :: (MonadIO m, MonadMask m) => ByteString -> (Registry -> m a) -> m a
Documentation
registryConf :: RegistryConf Source #
Command-line configuration for a Registry
stored in an append-only
table in a PostgreSQL database, as supported by withRegistry
.
The table name shall be registry
, inside a schema named moto
.
:: (MonadIO m, MonadMask m) | |
=> ByteString | PostgreSQL connection string. |
-> (Registry -> m a) | |
-> m a |
Obtain a Registry
stored in an append-only table in a PostgreSQL
database.
The table name shall be registry
, inside a schema named moto
.