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 is an in-memory Instancer backed by explicit Update calls. It is the recommended Instancer for unit tests and local development where no external service registry is available.
func (*Cache) Deregister ¶
Deregister removes ch from the subscriber list.
func (*Cache) Register ¶
Register subscribes ch to future events. The current state is sent immediately so the subscriber starts with a consistent view.
Click to show internal directories.
Click to hide internal directories.