Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type ServerName = String Source
class ServerType a where Source
data ServerExampleData dat Source
ServerExampleData | |
|
type ServerExample dat = StateT (ServerExampleData dat) IO Source
type ServerSpec dat = Writer [ServerSpecTree dat] () Source
data ServerSpecTree dat Source
ServerSpecGroup String [ServerSpecTree dat] | |
ServerSpecItem String (ServerExample dat ()) |
getServerData :: ServerType dat => ServerExample dat dat Source
sdescribe :: ServerType dat => String -> ServerSpec dat -> ServerSpec dat Source
serverSpecOS :: ServerType dat => dat -> ServerOS -> ServerSpec dat -> Spec Source
serverSpec :: ServerType dat => dat -> ServerSpec dat -> Spec Source
sit :: ServerType dat => String -> ServerExample dat () -> ServerSpec dat Source
data ServerStatus Source
includes' :: ServerType dat => ServerStatus -> ServerStatus -> ServerExample dat () Source
includes :: ServerType dat => ServerExample dat ServerStatus -> ServerStatus -> ServerExample dat () Source
package :: ServerType dat => String -> ServerExample dat ServerStatus Source
process :: ServerType dat => String -> ServerExample dat ServerStatus Source
service :: ServerType dat => String -> ServerExample dat ServerStatus Source
port :: ServerType dat => Int -> ServerExample dat ServerStatus Source
command :: ServerType dat => FilePath -> [String] -> String -> ServerExample dat ServerStatus Source