Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data StorageConfig = StorageConfig {}
- newtype CacheStorage = CacheStorage {
- cacheStoragePool :: Pool SqlBackend
- class HasCacheStorage env where
- data StorageNodeType
- data DataStorage = DataStorage {
- dataStoragePool :: !(Pool SqlBackend)
- dataStorageNodeType :: !StorageNodeType
- class HasDataStorage env where
Documentation
data StorageConfig #
Configuration value used by the entire gini-storage package.
Instances
HasDataStorage StorageConfig # | |
Defined in Gini.Storage.Types.Internal | |
HasCacheStorage StorageConfig # | |
newtype CacheStorage #
CacheStorage | |
|
Instances
HasCacheStorage CacheStorage # | |
class HasCacheStorage env where #
cacheStorageG :: SimpleGetter env CacheStorage #
Instances
HasCacheStorage CacheStorage # | |
HasCacheStorage StorageConfig # | |
data StorageNodeType #
Instances
Eq StorageNodeType # | |
Defined in Gini.Storage.Types.Internal (==) :: StorageNodeType -> StorageNodeType -> Bool # (/=) :: StorageNodeType -> StorageNodeType -> Bool # | |
Show StorageNodeType # | |
Defined in Gini.Storage.Types.Internal showsPrec :: Int -> StorageNodeType -> ShowS # show :: StorageNodeType -> String # showList :: [StorageNodeType] -> ShowS # |
data DataStorage #
DataStorage | |
|
Instances
HasDataStorage DataStorage # | |
Defined in Gini.Storage.Types.Internal |
class HasDataStorage env where #
dataStorageG :: SimpleGetter env DataStorage #
Instances
HasDataStorage DataStorage # | |
Defined in Gini.Storage.Types.Internal | |
HasDataStorage StorageConfig # | |
Defined in Gini.Storage.Types.Internal |