simplexmq-6.5.0.16: SimpleXMQ message broker
Safe HaskellSafe-Inferred
LanguageHaskell2010

Simplex.Messaging.Server.CLI

Documentation

data SignAlgorithm Source #

Constructors

ED448 
ED25519 

Instances

Instances details
Read SignAlgorithm Source # 
Instance details

Defined in Simplex.Messaging.Server.CLI

Methods

readsPrec :: Int -> ReadS SignAlgorithm

readList :: ReadS [SignAlgorithm]

readPrec :: ReadPrec SignAlgorithm

readListPrec :: ReadPrec [SignAlgorithm]

Show SignAlgorithm Source # 
Instance details

Defined in Simplex.Messaging.Server.CLI

Methods

showsPrec :: Int -> SignAlgorithm -> ShowS

show :: SignAlgorithm -> String

showList :: [SignAlgorithm] -> ShowS

data X509Config Source #

Constructors

X509Config 

Fields

data CertOptions Source #

Constructors

CertOptions 

Fields

Instances

Instances details
Show CertOptions Source # 
Instance details

Defined in Simplex.Messaging.Server.CLI

Methods

showsPrec :: Int -> CertOptions -> ShowS

show :: CertOptions -> String

showList :: [CertOptions] -> ShowS

data IniOptions Source #

Constructors

IniOptions 

Fields

exitError :: String -> IO a Source #

confirmOrExit :: String -> String -> IO () Source #

getCliCommand' :: Parser cmd -> String -> IO cmd Source #

createServerX509 :: FilePath -> X509Config -> IO ByteString Source #

createServerX509_ :: Bool -> FilePath -> X509Config -> IO ByteString Source #

parseLogLevel :: ReadM LogLevel Source #

genOnline :: FilePath -> CertOptions -> IO () Source #

warnCAPrivateKeyFile :: FilePath -> X509Config -> IO () Source #

strictIni :: Text -> Text -> Ini -> Text Source #

readStrictIni :: Read a => Text -> Text -> Ini -> a Source #

readIniDefault :: Read a => a -> Text -> Text -> Ini -> a Source #

iniOnOff :: Text -> Text -> Ini -> Maybe Bool Source #

strDecodeIni :: StrEncoding a => Text -> Text -> Ini -> Maybe (Either String a) Source #

withPrompt :: String -> IO a -> IO a Source #

onOffPrompt :: String -> Bool -> IO Bool Source #

onOff :: Bool -> Text Source #

settingIsOn :: Text -> Text -> Ini -> Maybe () Source #

checkSavedFingerprint :: FilePath -> X509Config -> IO ByteString Source #

iniTransports :: Ini -> [(ServiceName, ASrvTransport, AddHTTP)] Source #

printServerConfig :: String -> [(ServiceName, ASrvTransport, AddHTTP)] -> Maybe FilePath -> IO () Source #

printServerTransports :: String -> [(ServiceName, ASrvTransport, AddHTTP)] -> IO () Source #

deleteDirIfExists :: FilePath -> IO () Source #

clearDirIfExists :: FilePath -> IO () Source #

getEnvPath :: String -> FilePath -> IO FilePath Source #