Safe Haskell | None |
---|
Datatypes for a subsite serving a single-user dungeon.
- type SessionState = ((((DungeonState, TST Token), AVL (Int, Dynamic)), Int), [(String, EnvVar)])
- data SingleUserSub = SingleUserSub {
- currentCounter :: IORef Int
- dungeonStates :: IORef (AVL (Int, SessionState, String, NominalDiffTime))
- constructor :: Constructor ()
- resourcesSingleUserSub :: [ResourceTree String]
Documentation
type SessionState = ((((DungeonState, TST Token), AVL (Int, Dynamic)), Int), [(String, EnvVar)])Source
Server-side session state. Everything we need to know about the dungeon.
data SingleUserSub Source
Subsite foundation type, containing the dungeon constructor and the session states.
SingleUserSub | |
|
RenderRoute SingleUserSub | |
ParseRoute SingleUserSub | |
RouteAttrs SingleUserSub | |
(Yesod master, RenderMessage master FormMessage) => YesodSubDispatch SingleUserSub (HandlerT master IO) | |
Eq (Route SingleUserSub) | |
Read (Route SingleUserSub) | |
Show (Route SingleUserSub) |