Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Client *clientv3.Client
View Source
var (
ServicePrefix = "grpclb"
)
Functions ¶
Types ¶
type Config ¶
type Config struct { Endpoints []string `json:"endpoints" toml:"endpoints" mapstructure:"endpoints"` ConnectTimeout time.Duration `json:"connect_timeout" toml:"-" mapstructure:"-"` StartupRetryTimes int `json:"startup_retry_times" toml:"-" mapstructure:"-"` StartupRetryPeriod time.Duration `json:"startup_retry_period" toml:"-" mapstructure:"-"` }
func (*Config) VerifyConfig ¶
Click to show internal directories.
Click to hide internal directories.