| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Simplex.Messaging.Server.CLI
Documentation
data SignAlgorithm Source #
Instances
| Read SignAlgorithm Source # | |
Defined in Simplex.Messaging.Server.CLI Methods readsPrec :: Int -> ReadS SignAlgorithm readList :: ReadS [SignAlgorithm] readPrec :: ReadPrec SignAlgorithm readListPrec :: ReadPrec [SignAlgorithm] | |
| Show SignAlgorithm Source # | |
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
| Show CertOptions Source # | |
Defined in Simplex.Messaging.Server.CLI Methods showsPrec :: Int -> CertOptions -> ShowS show :: CertOptions -> String showList :: [CertOptions] -> ShowS | |
data IniOptions Source #
Constructors
| IniOptions | |
Fields
| |
confirmOrExit :: String -> String -> IO () Source #
getCliCommand' :: Parser cmd -> String -> IO cmd Source #
simplexmqVersionCommit :: String Source #
simplexmqCommit :: String Source #
createServerX509 :: FilePath -> X509Config -> IO ByteString Source #
createServerX509_ :: Bool -> FilePath -> X509Config -> IO ByteString Source #
certOptionsP :: Parser CertOptions Source #
startOptionsP :: Parser StartOptions Source #
parseLogLevel :: ReadM LogLevel Source #
genOnline :: FilePath -> CertOptions -> IO () Source #
warnCAPrivateKeyFile :: FilePath -> X509Config -> IO () Source #
mkIniOptions :: Ini -> IniOptions Source #
readStrictIni :: Read a => Text -> Text -> Ini -> a Source #
readIniDefault :: Read a => a -> Text -> Text -> Ini -> a 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 #
settingIsOn :: Text -> Text -> Ini -> Maybe () Source #
checkSavedFingerprint :: FilePath -> X509Config -> IO ByteString Source #
iniTransports :: Ini -> [(ServiceName, ASrvTransport, AddHTTP)] Source #
iniDBOptions :: Ini -> DBOpts -> DBOpts Source #
printServerConfig :: String -> [(ServiceName, ASrvTransport, AddHTTP)] -> Maybe FilePath -> IO () Source #
printServerTransports :: String -> [(ServiceName, ASrvTransport, AddHTTP)] -> IO () Source #
printSMPServerConfig :: [(ServiceName, ASrvTransport, AddHTTP)] -> ServerStoreCfg s -> IO () Source #
deleteDirIfExists :: FilePath -> IO () Source #
printServiceInfo :: ProtocolTypeI p => String -> ProtoServerWithAuth p -> IO () Source #
clearDirIfExists :: FilePath -> IO () Source #
getEnvPath :: String -> FilePath -> IO FilePath Source #