package
21.11.1
Repository: https://github.com/cs-si/safescale.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

MissEventOption returns []data.ImmutableKeyValue options to use on cache miss with timeout.
NewIdentifiableCache initializes a new instance of IdentifiableCache.
NewMapStore creates a new cache storage based on map (thread-safe).
NewSingleCache initializes a new instance of SingleCache.

# Constants

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

# Structs

Entry
Entry is a struct containing information about a cache entry.
IdentifiableCache contains the caches for objects that satisfy data.Identifiable interface.
SingleCache proposes a cache of Cacheable.

# Interfaces

Cache interface describing what a struct must implement to be considered as a cache.
Cacheable is the interface a struct must satisfy to be able to be cached.
Store interface describing what a struct must implement to be considered as a cache storage.