Documentation
¶
Index ¶
- Variables
- type Cache
- func (c *Cache) Close()
- func (c *Cache) Del(ctx context.Context, ns string, key string) *redis.IntCmd
- func (c *Cache) Get(ctx context.Context, ns string, key string) *redis.StringCmd
- func (c *Cache) Set(ctx context.Context, ns string, key string, value interface{}, ...) *redis.StatusCmd
- func (c *Cache) TTL(ctx context.Context, ns string, key string) *redis.DurationCmd
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoRows = redis.Nil
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.