Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
Host: "localhost",
Port: 5665,
}
DefaultConfig values
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Host string `config:"host"` Port int `config:"port"` User string `config:"user"` Password string `config:"password"` SSL SSL `config:"ssl"` Eventstream EventstreamConfig `config:"eventstream"` Statuspoller StatuspollerConfig `config:"statuspoller"` }
Config options
type EventstreamConfig ¶
type EventstreamConfig struct { Types []string `config:"types"` Filter string `config:"filter"` RetryInterval time.Duration `config:"retry_interval"` }
EventstreamConfig optoins
type SSL ¶
type SSL struct { Verify bool `config:"verify"` CertificateAuthorities []string `config:"certificate_authorities"` }
SSL options
type StatuspollerConfig ¶
StatuspollerConfig options
Click to show internal directories.
Click to hide internal directories.