Versions in this module Expand all Collapse all v1 v1.0.3 Jan 3, 2023 v1.0.2 Jan 3, 2023 Changes in this version + type Cache interface + Delete func(ctx context.Context, key string) error + Exists func(ctx context.Context, key string) bool + Get func(ctx context.Context, key string) ([]byte, error) + GetBool func(ctx context.Context, key string) (bool, error) + GetFloat func(ctx context.Context, key string) (float64, error) + GetInt func(ctx context.Context, key string) (int64, error) + GetObject func(ctx context.Context, key string, obj interface{}) error + GetString func(ctx context.Context, key string) (string, error) + RemainingTime func(ctx context.Context, key string) time.Duration + Set func(ctx context.Context, key string, val interface{}, expiration time.Duration) error