Versions in this module Expand all Collapse all v1 v1.0.0 Sep 21, 2023 Changes in this version + type Client interface + Event func(EventTest) (string, error) + EventDelete func(EventTest) (string, error) + Ping func() (string, error) + Query func(MessageTest) (string, error) + Status func(MessageTest) (string, error) + func NewClient(hostname string) Client + func NewClientFQDNDisabled(hostname string) Client + type ColorTest string + const CClear + const CGreen + const CInf + const CNan + const CRed + const CYellow + func ParseColorString(s string) (ColorTest, error) + func (c ColorTest) String() string + type EventTest struct + Activation time.Time + Color ColorTest + Default bool + Ephemeral bool + Expiration time.Time + Host string + Id string + Name string + Order int + Remove bool + Text string + TimeLocation string + func (t EventTest) String() string + type MessageTest struct + Color ColorTest + FQDNEnabled bool + Group string + Host string + Lifetime string + Name string + Text string + func (message MessageTest) String() string + type XymonClient struct + FQDNEnabled bool + Host string + Port int + TimeoutInSecond int + func (c XymonClient) Event(evt EventTest) (string, error) + func (c XymonClient) EventDelete(evt EventTest) (string, error) + func (c XymonClient) Ping() (string, error) + func (c XymonClient) Query(message MessageTest) (string, error) + func (c XymonClient) Status(message MessageTest) (string, error)