Atemschutzterminplaner-0.1.0.0: Short description of your package

Safe HaskellNone
LanguageHaskell2010

Model.Config

Description

Module contains data to cofigure database and REST service

Synopsis

Documentation

data State Source #

Spock state

Constructors

State 

Fields

data Config Source #

config data contains port and dbname

Constructors

Config 

Fields

type SessionVal = Maybe SessionId Source #

Spock session

type Api ctx = SpockCtxM ctx SqlBackend SessionVal State () Source #

Spock api

type ApiAction ctx a = SpockActionCtx ctx SqlBackend SessionVal State a Source #

Spock API action