Versions in this module Expand all Collapse all v0 v0.1.0 Jun 25, 2025 Changes in this version type Cache + ExistingKeys func(ctx context.Context, keys ...string) ([]string, error) + MissingKeys func(ctx context.Context, keys ...string) ([]string, error) v0.0.3 Jun 25, 2025 Changes in this version + var ErrDecode = cacheerr.ErrDecode + var ErrInvalidDB = cacheerr.ErrInvalidDB + var ErrInvalidPort = cacheerr.ErrInvalidPort + var ErrKeyNotFound = cacheerr.ErrKeyNotFound + var ErrMissingHost = cacheerr.ErrMissingHost + var ErrSerializeValue = cacheerr.ErrSerializeValue + var ErrSetNil = cacheerr.ErrSetNil + type Cache interface + Del func(ctx context.Context, keys ...string) error + Expire func(ctx context.Context, key string, expiration time.Duration) error + FlushAll func(ctx context.Context) error + Get func(ctx context.Context, key string) (string, error) + GetInto func(ctx context.Context, key string, dest any) error + Has func(ctx context.Context, key string) (bool, error) + KeyExists func(ctx context.Context, keys ...string) ([]string, error) + Set func(ctx context.Context, key string, value any, ttl time.Duration) error + TTL func(ctx context.Context, key string) (int64, error) + type RedisConfig = config.RedisConfig + type RemoteCache interface + Close func() error + Ping func(ctx context.Context) error + func NewRedisCache(config RedisConfig) (RemoteCache, error)