# Functions
DefaultFilter returns the global default Filter instance.
EventCountKey returns the contextual logging key for the event count.
New begins monitoring one or more sd.Instancer objects, dispatching events to any Listeners that are configured.
NewAccessorListener creates a service discovery Listener that dispatches accessor instances to a nested closure.
No description provided by the author
NewMetricsListener produces a monitor Listener that gathers metrics related to service discovery.
NewNormalizeFilter returns a Filter that uses service.NormalizeInstance to ensure that each instance is a valid URI with scheme and port (where applicable).
NewRegistrarListener binds service registration to the lifecycle of a service discovery watch.
NopFilter does nothing.
WithClosed sets an external channel that, when closed, will cause all goroutines spawned by this monitor to exit.
No description provided by the author
WithFilter establishes the filtering strategy for discovered service instances.
WithInstancers establishes the set of sd.Instancer objects to be monitored.
WithListeners configures the monitor to dispatch to zero or more Listeners.
WithLogger sets a go-kit Logger for this monitor.
# Structs
DelayedListener is a decorator for Listener that uses a capacitor to implement a grace period between service discovery events.
Event carries the same information as go-kit's sd.Event, but with the extra Key that identifies which filtered service or path was updated.
# Type aliases
Filter represents a preprocessing strategy for discovered service instances.
No description provided by the author
No description provided by the author
Option represents a configuration option for a monitor.