Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶
type Endpoints struct {
// contains filtered or unexported fields
}
func NewEndpoints ¶
func (*Endpoints) AddCallback ¶
func (e *Endpoints) AddCallback(callback EndpointsCallback)
func (*Endpoints) PublishEndpoints ¶
func (*Endpoints) Unsubscribe ¶
type EndpointsCallback ¶
type EndpointsCallback func(version int64, nodes []api.Node)
type Routes ¶
type Routes struct {
// contains filtered or unexported fields
}
func (*Routes) AddCallback ¶
func (r *Routes) AddCallback(callback RoutesCallback)
func (*Routes) PublishRoutes ¶
func (*Routes) Unsubscribe ¶
type RoutesCallback ¶
type RoutesCallback func(version int64, services []api.Service)
Click to show internal directories.
Click to hide internal directories.