MCPcopy Index your code
hub / github.com/devaccuracy/ledgerforge / RedisCache

Struct RedisCache

internal/cache/cache.go:59–61  ·  view source on GitHub ↗

RedisCache implements the Cache interface, using Redis as the underlying cache store. It leverages both Redis and local in-memory caching for efficient lookups.

Source from the content-addressed store, hash-verified

57// RedisCache implements the Cache interface, using Redis as the underlying cache store.
58// It leverages both Redis and local in-memory caching for efficient lookups.
59type RedisCache struct {
60 cache *cache.Cache
61}
62
63// NewCache creates a new instance of RedisCache by establishing a connection to Redis.
64// It fetches the configuration, initializes Redis, and returns a Cache instance.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected