| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
DRcon.EvalParser
Documentation
data CommandErrorType Source
Constructors
| UnknownCommand Text | |
| WrongArgumentType Text Text | |
| CommandTakesNoArgumens Text Text | |
| OtherError Text |
Instances
Constructors
| SetMode RconMode | |
| SetTimeDiff Int | |
| SetTimeout Float | |
| SetEncoding DecodeType | |
| SetColor Bool | |
| SetPrompt String |
type EvalCmd = Either CommandErrorType InputType Source
parseCommand :: String -> EvalCmd Source
internalAutoComplete :: Text -> Text -> [Text] Source