Versions in this module Expand all Collapse all v1 v1.5.0 Jan 30, 2022 Changes in this version + var DefaultSDConfig = SDConfig + type Application struct + Instances []Instance + Name string + type Applications struct + Applications []Application + AppsHashcode string + VersionsDelta int + type DataCenterInfo struct + Class string + Metadata *MetaData + Name string + type Discovery struct + func NewDiscovery(conf *SDConfig, logger *zap.Logger) (*Discovery, error) + type Instance struct + ActionType string + App string + CountryID int + DataCenterInfo *DataCenterInfo + HealthCheckURL string + HomePageURL string + HostName string + IPAddr string + InstanceID string + IsCoordinatingDiscoveryServer bool + Metadata *MetaData + Port *Port + SecurePort *Port + SecureVipAddress string + Status string + StatusPageURL string + VipAddress string + type MetaData struct + Items []Tag + type Port struct + Enabled bool + Port int + type SDConfig struct + HTTPClientConfig config.HTTPClientConfig + RefreshInterval model.Duration + Server string + func (*SDConfig) Name() string + func (c *SDConfig) NewDiscoverer(opts discovery.DiscovererOptions) (discovery.Discoverer, error) + func (c *SDConfig) SetDirectory(dir string) + func (c *SDConfig) UnmarshalYAML(unmarshal func(interface{}) error) error + type Tag struct + Content string + XMLName xml.Name