RedisCache implements the Cache interface, using Redis as the underlying cache store. It leverages both Redis and local in-memory caching for efficient lookups.
| 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. |
| 59 | type 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. |
nothing calls this directly
no outgoing calls
no test coverage detected