Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
Discovery retrieves target information from a Consul server and updates them via watches.
func NewDiscovery ¶
func NewDiscovery(conf *config.ConsulSDConfig) (*Discovery, error)
NewDiscovery returns a new Discovery for the given config.
Click to show internal directories.
Click to hide internal directories.