| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Simplex.Messaging.Server.Main.Init
Documentation
data InitOptions Source #
Constructors
| InitOptions | |
Fields
| |
Instances
| Show InitOptions Source # | |
Defined in Simplex.Messaging.Server.Main.Init Methods showsPrec :: Int -> InitOptions -> ShowS show :: InitOptions -> String showList :: [InitOptions] -> ShowS | |
data ServerPassword Source #
Constructors
| ServerPassword BasicAuth | |
| SPRandom |
Instances
| Show ServerPassword Source # | |
Defined in Simplex.Messaging.Server.Main.Init Methods showsPrec :: Int -> ServerPassword -> ShowS show :: ServerPassword -> String showList :: [ServerPassword] -> ShowS | |
defaultControlPort :: Int Source #
defaultDeletedTTL :: Int64 Source #
iniFileContent :: FilePath -> FilePath -> InitOptions -> HostName -> Maybe BasicAuth -> Maybe (Text, Text) -> Text Source #
informationIniContent :: InitOptions -> Text Source #
optDisabled :: Maybe a -> Text Source #
optDisabled' :: Bool -> Text Source #