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

Simplex.Messaging.Server.Information

Documentation

data ServerInformation Source #

Instances

Instances details
FromJSON ServerInformation Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

parseJSON :: Value -> Parser ServerInformation

parseJSONList :: Value -> Parser [ServerInformation]

omittedField :: Maybe ServerInformation

ToJSON ServerInformation Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Show ServerInformation Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

showsPrec :: Int -> ServerInformation -> ShowS

show :: ServerInformation -> String

showList :: [ServerInformation] -> ShowS

data ServerPublicConfig Source #

Instances

Instances details
FromJSON ServerPublicConfig Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

parseJSON :: Value -> Parser ServerPublicConfig

parseJSONList :: Value -> Parser [ServerPublicConfig]

omittedField :: Maybe ServerPublicConfig

ToJSON ServerPublicConfig Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Show ServerPublicConfig Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

showsPrec :: Int -> ServerPublicConfig -> ShowS

show :: ServerPublicConfig -> String

showList :: [ServerPublicConfig] -> ShowS

data ServerPublicInfo Source #

Constructors

ServerPublicInfo 

Instances

Instances details
FromJSON ServerPublicInfo Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

parseJSON :: Value -> Parser ServerPublicInfo

parseJSONList :: Value -> Parser [ServerPublicInfo]

omittedField :: Maybe ServerPublicInfo

ToJSON ServerPublicInfo Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Show ServerPublicInfo Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

showsPrec :: Int -> ServerPublicInfo -> ShowS

show :: ServerPublicInfo -> String

showList :: [ServerPublicInfo] -> ShowS

data ServerConditions Source #

Constructors

ServerConditions 

Fields

Instances

Instances details
FromJSON ServerConditions Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

parseJSON :: Value -> Parser ServerConditions

parseJSONList :: Value -> Parser [ServerConditions]

omittedField :: Maybe ServerConditions

ToJSON ServerConditions Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Show ServerConditions Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

showsPrec :: Int -> ServerConditions -> ShowS

show :: ServerConditions -> String

showList :: [ServerConditions] -> ShowS

data HostingType Source #

Instances

Instances details
FromJSON HostingType Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

parseJSON :: Value -> Parser HostingType

parseJSONList :: Value -> Parser [HostingType]

omittedField :: Maybe HostingType

ToJSON HostingType Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

toJSON :: HostingType -> Value

toEncoding :: HostingType -> Encoding

toJSONList :: [HostingType] -> Value

toEncodingList :: [HostingType] -> Encoding

omitField :: HostingType -> Bool

Show HostingType Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

showsPrec :: Int -> HostingType -> ShowS

show :: HostingType -> String

showList :: [HostingType] -> ShowS

StrEncoding HostingType Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

strEncode :: HostingType -> ByteString Source #

strDecode :: ByteString -> Either String HostingType Source #

strP :: Parser HostingType Source #

data Entity Source #

Constructors

Entity 

Fields

Instances

Instances details
FromJSON Entity Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

parseJSON :: Value -> Parser Entity

parseJSONList :: Value -> Parser [Entity]

omittedField :: Maybe Entity

ToJSON Entity Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

toJSON :: Entity -> Value

toEncoding :: Entity -> Encoding

toJSONList :: [Entity] -> Value

toEncodingList :: [Entity] -> Encoding

omitField :: Entity -> Bool

Show Entity Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

showsPrec :: Int -> Entity -> ShowS

show :: Entity -> String

showList :: [Entity] -> ShowS

data ServerContactAddress Source #

Constructors

ServerContactAddress 

Fields

Instances

Instances details
FromJSON ServerContactAddress Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

ToJSON ServerContactAddress Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Show ServerContactAddress Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

showsPrec :: Int -> ServerContactAddress -> ShowS

show :: ServerContactAddress -> String

showList :: [ServerContactAddress] -> ShowS

data PGPKey Source #

Constructors

PGPKey 

Fields

Instances

Instances details
FromJSON PGPKey Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

parseJSON :: Value -> Parser PGPKey

parseJSONList :: Value -> Parser [PGPKey]

omittedField :: Maybe PGPKey

ToJSON PGPKey Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

toJSON :: PGPKey -> Value

toEncoding :: PGPKey -> Encoding

toJSONList :: [PGPKey] -> Value

toEncodingList :: [PGPKey] -> Encoding

omitField :: PGPKey -> Bool

Show PGPKey Source # 
Instance details

Defined in Simplex.Messaging.Server.Information

Methods

showsPrec :: Int -> PGPKey -> ShowS

show :: PGPKey -> String

showList :: [PGPKey] -> ShowS