package
0.15.1
Repository: https://github.com/cisco-open/go-lanai.git
Documentation: pkg.go.dev

# Functions

MakeCachedInstancer returns a CachedInstancer that provide basic implementation of discovery.Instancer See discovery.Instancer.
NewSimpleServiceCache returns a ServiceCache with map[string]*Service as a back storage This ServiceCache is not goroutine-safe.

# Constants

No description provided by the author

# Structs

CachedInstancer implements discovery.Instancer CachedInstancer provides common implementation of discovery.Instancer with an internal cache and a background goroutine to periodically refresh service cache using provided RefreshFunc.
No description provided by the author
InstancerOption general options applicable to any cache based instancer implementation.

# Type aliases

CachedInstancerOptions used to create CachedInstancer.
RefreshFunc is the function to use when CachedInstancer try to refresh internal cache.