Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { config.MonitorConfig `yaml:",inline" acceptsEndpoints:"true"` Host string `yaml:"host" validate:"required"` Port uint16 `yaml:"port" validate:"required"` Databases []string `yaml:"databases" validate:"required"` Username string `yaml:"username"` Password string `yaml:"password" neverLog:"true"` UseTLS bool `yaml:"useTLS"` CACerts string `yaml:"caCerts"` TLSClientCert string `yaml:"tlsClientCert"` TLSClientKey string `yaml:"tlsClientKey"` TLSClientKeyPassPhrase string `yaml:"tlsClientKeyPassPhrase"` }
Config is the monitor-specific config with the generic config embedded
Click to show internal directories.
Click to hide internal directories.