Discover Packages
github.com/stripe/veneur/v14
discovery
consul
package
Version:
v14.2.0
Opens a new window with list of versions in this module.
Published: May 9, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Consul struct {
ConsulHealth *api .Health
}
Consul is a Discoverer that uses Consul to find
healthy instances of a given name.
NewConsul creates a new instance of a Consul Discoverer
GetDestinationsForService updates the list of destinations based on healthy nodes
found via Consul. It returns destinations in the form "<host>:<port>".
Source Files
¶
Click to show internal directories.
Click to hide internal directories.