Documentation
¶
Index ¶
- type RedisDB
- func (r *RedisDB) Decrement(ctx context.Context, key string) error
- func (r *RedisDB) Del(ctx context.Context, key string) error
- func (r *RedisDB) Get(ctx context.Context, key string) (string, error)
- func (r *RedisDB) Set(ctx context.Context, key string, value string) error
- func (r *RedisDB) SetInt(ctx context.Context, key string, value int) error
- func (r *RedisDB) ZDel(ctx context.Context, setName string) ([]redis.Z, error)
- func (r *RedisDB) ZGetRange(ctx context.Context, setName string, start float64, end float64) ([]redis.Z, error)
- func (r *RedisDB) ZRem(ctx context.Context, setName string, key string) (int64, error)
- func (r *RedisDB) ZSet(ctx context.Context, setName string, publishTime float64, id string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.