package
0.13.0
Repository: https://github.com/go-kit/kit.git
Documentation: pkg.go.dev

# Packages

Package consul provides Instancer and Registrar implementations for Consul.
Package dnssrv provides an Instancer implementation for DNS SRV records.
Package etcd provides an Instancer and Registrar implementation for etcd.
Package etcdv3 provides an Instancer and Registrar implementation for etcd v3.
Package eureka provides Instancer and Registrar implementations for Netflix OSS's Eureka.
Package lb implements the client-side load balancer pattern.
Package zk provides Instancer and Registrar implementations for ZooKeeper.

# Functions

InvalidateOnError returns EndpointerOption that controls how the Endpointer behaves when then Instancer publishes an Event containing an error.
NewEndpointer creates an Endpointer that subscribes to updates from Instancer src and uses factory f to create Endpoints.

# Structs

DefaultEndpointer implements an Endpointer interface.
Event represents a push notification generated from the underlying service discovery implementation.

# Interfaces

Endpointer listens to a service discovery system and yields a set of identical endpoints on demand.
Instancer listens to a service discovery system and notifies registered observers of changes in the resource instances.
Registrar registers instance information to a service discovery system when an instance becomes alive and healthy, and deregisters that information when the service becomes unhealthy or goes away.

# Type aliases

EndpointerOption allows control of endpointCache behavior.
Factory is a function that converts an instance string (e.g.
FixedEndpointer yields a fixed set of endpoints.
FixedInstancer yields a fixed set of instances.