Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type SDConfig ¶
type SDConfig struct { Endpoint string `yaml:"endpoint"` ApplicationKey string `yaml:"application_key"` ApplicationSecret config.Secret `yaml:"application_secret"` ConsumerKey config.Secret `yaml:"consumer_key"` RefreshInterval model.Duration `yaml:"refresh_interval"` Service string `yaml:"service"` }
SDConfig defines the Service Discovery struct used for configuration.
func (*SDConfig) NewDiscoverer ¶
func (c *SDConfig) NewDiscoverer(options discovery.DiscovererOptions) (discovery.Discoverer, error)
NewDiscoverer returns a Discoverer for the Config.
func (*SDConfig) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.