Documentation
¶
Overview ¶
Package eureka provides Instancer and Registrar implementations for Netflix OSS's Eureka
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instancer ¶
type Instancer struct {
// contains filtered or unexported fields
}
Instancer yields instances stored in the Eureka registry for the given app. Changes in that app are watched and will update the subscribers.
func NewInstancer ¶
NewInstancer returns a Eureka Instancer. It will start watching the given app string for changes, and update the subscribers accordingly.
func (*Instancer) Deregister ¶
Deregister implements Instancer.
type Registrar ¶
Registrar maintains service instance liveness information in Eureka.
func NewRegistrar ¶
NewRegistrar returns an Eureka Registrar acting on behalf of the provided Fargo connection and instance. See the integration test for usage examples.