Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // service ConsulAddr string `json:"consul_addr"` ServiceName string `json:"service_name"` Node string `json:"node"` Tags []string `json:"tags"` // health Interval string `json:"interval"` Timeout string `json:"timeout"` ServiceIP string `json:"service_ip"` ServicePort int `json:"service_port"` // health check port range in [ min(HealthPort), max(HealthPort) ] HealthPort [2]int `json:"health_port"` }
Click to show internal directories.
Click to hide internal directories.