Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store interface {
Get(ctx context.Context, key string) (string, error)
Set(ctx context.Context, key string, object string, ttl time.Duration) error
SetMany(ctx context.Context, values map[string]string, ttl time.Duration) error
Delete(ctx context.Context, key string) error
HIncrBy(ctx context.Context, key string, field string, incr int64) (int, error)
HGetAll(ctx context.Context, key string) (map[string]string, error)
HDel(ctx context.Context, key string, field string) error
Expire(ctx context.Context, key string, expiration time.Duration) error
}
Click to show internal directories.
Click to hide internal directories.