Documentation ¶
Overview ¶
Package cache is used to store the alerts parser state into Redis.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisCache ¶
type RedisCache struct { Cache // contains filtered or unexported fields }
RedisCache represents a cache that is based on a underlying Redis.
func NewRedisCache ¶
func NewRedisCache(r *redis.Client, key string) (RedisCache, error)
NewRedisCache constructs and returns a new RedisCache.
Click to show internal directories.
Click to hide internal directories.