Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCacheEntryNotFound = errors.New("cache entry not found")
)
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface {
Get(ctx context.Context, key string, value interface{}) error
Set(ctx context.Context, key string, value interface{}) error
SetWithExpiration(ctx context.Context, key string, value interface{}, expiration time.Duration) error
Delete(ctx context.Context, keys ...string) error
Invalidate(ctx context.Context, keyRegex string) error
}
Click to show internal directories.
Click to hide internal directories.