Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data SessionData = SessionData {
- sessionMemory :: TVar (Map Text (Map Text Text))
- data UserData = UserData {
- userStorage :: TVar (Map UserKey PwHash)
- data CacheData = CacheData {
- cacheStorage :: TVar (Map Text ByteString)
- initSessionMemory :: InitM g s m SessionContainer
- initAuthMemory :: InitM g s m AuthContainer
- initCacheMemory :: InitM g s m CacheContainer
Documentation
data SessionData Source
SessionData | |
|
SessionBackend SessionData | In memory session backend. Session values will not persist after server restart. |
AuthBackend UserData | In memory auth backend. User values will not persist after server restart. |
CacheData | |
|
CacheBackend CacheData | In memory cache backend. Cache value will not persist after server restart and will never clear old values. |
initSessionMemory :: InitM g s m SessionContainer Source
initAuthMemory :: InitM g s m AuthContainer Source
initCacheMemory :: InitM g s m CacheContainer Source