package
1.40.0
Repository: https://github.com/authzed/spicedb.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewRistrettoCache creates a new ristretto cache from the given config.
NewRistrettoCacheWithMetrics creates a new ristretto cache from the given config that also reports metrics to the default Prometheus registry.
NewStandardCache creates a new cache with the given configuration.
No description provided by the author
No description provided by the author
No description provided by the author
NoopCache returns a cache that does nothing.

# Structs

Config for caching.

# Interfaces

Cache defines an interface for a generic cache.
KeyString is an interface for keys that can be converted to strings.
Metrics defines metrics exported by the cache.

# Type aliases

StringKey is a simple string key.