Safe Haskell | Safe-Infered |
---|
Implementation of the Ganeti Query2 server.
- handleClassicQuery :: ConfigData -> ItemType -> [Either String Integer] -> [String] -> Bool -> IO (GenericResult GanetiException JSValue)
- handleCallWrapper :: Result ConfigData -> LuxiOp -> IO (ErrorResult JSValue)
- handleCall :: ConfigData -> LuxiOp -> IO (ErrorResult JSValue)
- handleClientMsg :: Client -> ConfigReader -> LuxiOp -> IO Bool
- handleClient :: Client -> ConfigReader -> IO Bool
- clientLoop :: Client -> ConfigReader -> IO ()
- listener :: ConfigReader -> Socket -> IO ()
- type PrepResult = (FilePath, Socket, IORef (Result ConfigData))
- checkMain :: CheckFn ()
- prepMain :: PrepFn () PrepResult
- main :: MainFn () PrepResult
Documentation
handleClassicQuery :: ConfigData -> ItemType -> [Either String Integer] -> [String] -> Bool -> IO (GenericResult GanetiException JSValue)Source
handleCallWrapper :: Result ConfigData -> LuxiOp -> IO (ErrorResult JSValue)Source
handleCall :: ConfigData -> LuxiOp -> IO (ErrorResult JSValue)Source
handleClientMsg :: Client -> ConfigReader -> LuxiOp -> IO BoolSource
handleClient :: Client -> ConfigReader -> IO BoolSource
clientLoop :: Client -> ConfigReader -> IO ()Source
listener :: ConfigReader -> Socket -> IO ()Source
type PrepResult = (FilePath, Socket, IORef (Result ConfigData))Source
prepMain :: PrepFn () PrepResultSource
Prepare function for luxid.
main :: MainFn () PrepResultSource
Main function.