package
0.0.0-20200120052926-ee9fa080293d
Repository: https://github.com/samaritan-proxy/sash.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewCache creates a cache container for service registry.
NewMockCache creates a new mock instance.
SyncFreq sets the sync frequency.
SyncJitter sets the jitter for sync frequency.

# Constants

The following shows the available event types.
The following shows the available event types.
The following shows the available event types.

# Structs

InstanceEvent represents a instance event.
MockCache is a mock of Cache interface.
MockCacheMockRecorder is the mock recorder for MockCache.
ServiceEvent represents a service event.

# Interfaces

Cache is used to cache all registered services from the underlying registry, and provides a notification mechanism which means the caller could receive and handle the service and instance change event.

# Type aliases

CacheOption sets the options for cache.
EventType indicates the type of event.
No description provided by the author
No description provided by the author