package
1.5.1
Repository: https://github.com/microbus-io/fabric.git
Documentation: pkg.go.dev

# Functions

Bump controls whether a loaded element is bumped to the head of the cache.
ConsistencyCheck controls whether to validate that all peers have the same value.
MaxAge indicates to discard elements that have not been inserted or bumped recently.
NewCache starts a new cache for the service at a given path.
NoBump prevents a loaded element from being bumped to the head of the cache.
Replicate controls whether to replicate the stored element to all peers.

# Structs

Cache is an LRU cache that is distributed among the peers of a microservice.

# Interfaces

Service is an interface abstraction of a microservice used by the distributed cache.

# Type aliases

LoadOption customizes loading from the cache.
StoreOption customizes storing in the cache.