package
0.1.3
Repository: https://github.com/mykube-run/kindling.git
Documentation: pkg.go.dev

# Functions

NewFailOverCache instantiates a fail-over cache NOTE: - exp1: level 1 cache expiration, e.g.

# Variables

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

# Structs

FailOverCache implements fail-over caching strategy via two-level cache.

# Type aliases

RefreshFunc cache refresh function to retrieve the newest value, accepts a key as input which is also the cache key NOTE: - Handle function timeout carefully (better finish in no more than 2 seconds) - Avoid returning a nil value while error is nil too.