Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCacheNotFound = errors.New("not found")
)
Error Constants
Functions ¶
func NewMemCacheClient ¶
func NewMemCacheClient(delegate discovery.DiscoveryInterface) discovery.CachedDiscoveryInterface
NewMemCacheClient creates a new CachedDiscoveryInterface which caches discovery information in memory and will stay up-to-date if Invalidate is called with regularity.
NOTE: The client will NOT resort to live lookups on cache misses.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.