Documentation
¶
Overview ¶
Package cacheredis provides a supported Redis-backed cache adapter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthChecker ¶
func HealthChecker(client redis.UniversalClient) ports.HealthChecker
HealthChecker returns a Redis cache dependency health checker.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store implements cache.Store using Redis.
func New ¶
func New(client redis.UniversalClient, opts Options) *Store
New constructs a Redis-backed cache store.
func (*Store) HealthChecker ¶
func (s *Store) HealthChecker() ports.HealthChecker
HealthChecker returns a Redis cache dependency health checker for this store.
Click to show internal directories.
Click to hide internal directories.