Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheEngine ¶
type CacheEngine interface { Start(ctx context.Context) error Close(ctx context.Context) error Keys(ctx context.Context, pattern string) ([]string, error) Set(ctx context.Context, key string, value []byte, ttl time.Duration) error Get(ctx context.Context, key string) ([]byte, error) Delete(ctx context.Context, key string) error DeleteByPrefix(ctx context.Context, prefix string) error }
Click to show internal directories.
Click to hide internal directories.