Safe Haskell | None |
---|---|
Language | Haskell2010 |
PMS.Domain.Model.DS.Utility
Synopsis
- runFastLoggerT :: DomainData -> TimedFastLogger -> LoggingT IO a -> IO a
- createLogger :: DomainData -> String -> IO (TimedFastLogger, IO ())
- str2lbs :: String -> ByteString
- lbs2str :: ByteString -> String
- invalidChars :: [Text]
- invalidCmds :: [String]
- validateMessage :: String -> IO String
- validateCommand :: String -> IO String
- validateArgs :: [String] -> IO [String]
- validateArg :: String -> IO String
- expect :: TMVar () -> IO ByteString -> [String] -> IO (Maybe String)
- readUntilPrompt :: IO ByteString -> [String] -> IO ByteString
Documentation
runFastLoggerT :: DomainData -> TimedFastLogger -> LoggingT IO a -> IO a Source #
createLogger :: DomainData -> String -> IO (TimedFastLogger, IO ()) Source #
str2lbs :: String -> ByteString Source #
lbs2str :: ByteString -> String Source #
invalidChars :: [Text] Source #
- ";", "&&", "|", "$", "`", """, "\", """, "..", "/"
invalidCmds :: [String] Source #
readUntilPrompt :: IO ByteString -> [String] -> IO ByteString Source #