Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Gini.Storage.Types
- runCacheStorage :: HasCacheStorage env => ReaderT SqlBackend (RIO env) a -> RIO env a
- runDataStorage :: HasDataStorage env => ReaderT SqlBackend (RIO env) a -> RIO env a
- withStorageConfig :: HasLogFunc env => StorageNodeType -> FilePath -> FilePath -> (StorageConfig -> RIO env a) -> RIO env a
Documentation
module Gini.Storage.Types
runCacheStorage :: HasCacheStorage env => ReaderT SqlBackend (RIO env) a -> RIO env a #
runDataStorage :: HasDataStorage env => ReaderT SqlBackend (RIO env) a -> RIO env a #
:: HasLogFunc env | |
=> StorageNodeType | |
-> FilePath | Data storage directory |
-> FilePath | Cache storage directory |
-> (StorageConfig -> RIO env a) | |
-> RIO env a |
Create a new StorageConfig
with the given settings.