Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache collects the most recent set of endpoints from a service discovery system via a subscriber, and makes them available to consumers. Cache is meant to be embedded inside of a concrete subscriber, and can serve Service invocations directly.
func (*Cache) Endpoints ¶
Endpoints yields the current set of (presumably identical) endpoints, ordered lexicographically by the corresponding instance string.
Click to show internal directories.
Click to hide internal directories.