Delete removes a value from the cache based on the provided key. Parameters: - ctx: The context for managing the request lifecycle. - key: The cache key to be deleted. Returns an error if the key cannot be deleted.
(ctx context.Context, key string)
| 52 | // - key: The cache key to be deleted. |
| 53 | // Returns an error if the key cannot be deleted. |
| 54 | Delete(ctx context.Context, key string) error |
| 55 | } |
| 56 | |
| 57 | // RedisCache implements the Cache interface, using Redis as the underlying cache store. |
no outgoing calls