Documentation ¶ Index ¶ type Config func NewConfig() *Config func (o *Config) ConsulParse() func (o *Config) Parse() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { UpdateInterval int `json:"update_interval"` CheckHosts string `json:"check_hosts"` MetricsPort int `json:"metrics_port"` CheckPort int `json:"check_port"` HostsMap map[string]bool LocalIP string } func NewConfig ¶ func NewConfig() *Config func (*Config) ConsulParse ¶ func (o *Config) ConsulParse() func (*Config) Parse ¶ func (o *Config) Parse() Source Files ¶ View all Source files config.go Click to show internal directories. Click to hide internal directories.