Safe Haskell | None |
---|---|
Language | GHC2024 |
Documentation
class (FromJSON payload, ToJSON payload, Ord key) => MetadataPayload key payload | key -> payload where #
Instances
kvReadMany :: (MetadataPayload key payload, MonadIO m, Katip m) => KVS -> [key] -> m (Map key payload) #
kvUpdate :: (MetadataPayload key payload, MonadIO m, Katip m) => KVS -> key -> (Maybe payload -> payload) -> m () #
KVS | |
|
initKVFile :: MonadIO m => FilePath -> InitKVS m #
initKVSAwsS3 :: (MonadIO m, Katip m) => BucketName -> Text -> InitKVS m #
data KVSConnectionString #
Instances
FromJSON KVSConnectionString # | |
Defined in Napkin.Run.Metadata.KVStore | |
Show KVSConnectionString # | |
Defined in Napkin.Run.Metadata.KVStore showsPrec :: Int -> KVSConnectionString -> ShowS # show :: KVSConnectionString -> String # showList :: [KVSConnectionString] -> ShowS # | |
Eq KVSConnectionString # | |
Defined in Napkin.Run.Metadata.KVStore (==) :: KVSConnectionString -> KVSConnectionString -> Bool # (/=) :: KVSConnectionString -> KVSConnectionString -> Bool # |
parseKVS :: Text -> Maybe KVSConnectionString #