Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Consul struct { Server string `yaml:"server"` Port string `yaml:"port"` ID string `yaml:"id"` Name string `yaml:"name"` Tags []string `yaml:"tags,flow"` Timeout int `yaml:"timeout"` Interval int `yaml:"interval"` Dcsafter int `yaml:"dcsafter"` Client struct { IP string `yaml:"ip"` Port int `yaml:"port"` Health string `yaml:"health"` } `yaml:"client"` } `yaml:"consul"` }
Click to show internal directories.
Click to hide internal directories.