Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheOptions ¶
type CacheOptions struct {
}
CacheOptions contains options for configuring cache
type CacheStore ¶
type CacheStore interface {
Get(ctx context.Context, key string) (interface{}, error)
Set(ctx context.Context, key string, value interface{}, options *CacheOptions) error
Delete(ctx context.Context, key string) error
Invalidate(ctx context.Context, options *CacheOptions) error
Clear(ctx context.Context) error
}
CacheStore interface
Click to show internal directories.
Click to hide internal directories.