Documentation ¶
Index ¶
- func SetConfiger(ctx context.Context, configerType cache.ConfigerType) error
- func WatchUpdate(ctx context.Context)
- type RedisExt
- func (m *RedisExt) Del(ctx context.Context, key string) (n int64, err error)
- func (m *RedisExt) Exists(ctx context.Context, key string) (n int64, err error)
- func (m *RedisExt) Expire(ctx context.Context, key string, expiration time.Duration) (b bool, err error)
- func (m *RedisExt) Get(ctx context.Context, key string) (s string, err error)
- func (m *RedisExt) HDel(ctx context.Context, key string, fields ...string) (n int64, err error)
- func (m *RedisExt) HExists(ctx context.Context, key string, field string) (b bool, err error)
- func (m *RedisExt) HGet(ctx context.Context, key string, field string) (s string, err error)
- func (m *RedisExt) HGetAll(ctx context.Context, key string) (sm map[string]string, err error)
- func (m *RedisExt) HIncrBy(ctx context.Context, key string, field string, incr int64) (n int64, err error)
- func (m *RedisExt) HIncrByFloat(ctx context.Context, key string, field string, incr float64) (f float64, err error)
- func (m *RedisExt) HKeys(ctx context.Context, key string) (ss []string, err error)
- func (m *RedisExt) HLen(ctx context.Context, key string) (n int64, err error)
- func (m *RedisExt) HMGet(ctx context.Context, key string, fields ...string) (vs []interface{}, err error)
- func (m *RedisExt) HMSet(ctx context.Context, key string, fields map[string]interface{}) (s string, err error)
- func (m *RedisExt) HSet(ctx context.Context, key string, field string, value interface{}) (b bool, err error)
- func (m *RedisExt) HSetNX(ctx context.Context, key string, field string, val interface{}) (b bool, err error)
- func (m *RedisExt) HVals(ctx context.Context, key string) (ss []string, err error)
- func (m *RedisExt) Set(ctx context.Context, key string, val interface{}, exp time.Duration) (s string, err error)
- func (m *RedisExt) SetNX(ctx context.Context, key string, val interface{}, exp time.Duration) (b bool, err error)
- func (m *RedisExt) ZAdd(ctx context.Context, key string, members []Z) (n int64, err error)
- func (m *RedisExt) ZAddCh(ctx context.Context, key string, members []Z) (n int64, err error)
- func (m *RedisExt) ZAddNX(ctx context.Context, key string, members []Z) (n int64, err error)
- func (m *RedisExt) ZAddNXCh(ctx context.Context, key string, members []Z) (n int64, err error)
- func (m *RedisExt) ZAddXX(ctx context.Context, key string, members []Z) (n int64, err error)
- func (m *RedisExt) ZAddXXCh(ctx context.Context, key string, members []Z) (n int64, err error)
- func (m *RedisExt) ZCard(ctx context.Context, key string) (n int64, err error)
- func (m *RedisExt) ZCount(ctx context.Context, key, min, max string) (n int64, err error)
- func (m *RedisExt) ZIncr(ctx context.Context, key string, member Z) (f float64, err error)
- func (m *RedisExt) ZIncrBy(ctx context.Context, key string, increment float64, member string) (f float64, err error)
- func (m *RedisExt) ZIncrNX(ctx context.Context, key string, member Z) (f float64, err error)
- func (m *RedisExt) ZIncrXX(ctx context.Context, key string, member Z) (f float64, err error)
- func (m *RedisExt) ZRange(ctx context.Context, key string, start, stop int64) (ss []string, err error)
- func (m *RedisExt) ZRangeByLex(ctx context.Context, key string, by ZRangeBy) (ss []string, err error)
- func (m *RedisExt) ZRangeByScore(ctx context.Context, key string, by ZRangeBy) (ss []string, err error)
- func (m *RedisExt) ZRangeWithScores(ctx context.Context, key string, start, stop int64) (zs []Z, err error)
- func (m *RedisExt) ZRank(ctx context.Context, key string, member string) (n int64, err error)
- func (m *RedisExt) ZRem(ctx context.Context, key string, members []interface{}) (n int64, err error)
- func (m *RedisExt) ZRevRange(ctx context.Context, key string, start, stop int64) (ss []string, err error)
- func (m *RedisExt) ZRevRangeWithScores(ctx context.Context, key string, start, stop int64) (zs []Z, err error)
- func (m *RedisExt) ZRevRank(ctx context.Context, key string, member string) (n int64, err error)
- func (m *RedisExt) ZScore(ctx context.Context, key string, member string) (f float64, err error)
- type Z
- type ZRangeBy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetConfiger ¶
func SetConfiger(ctx context.Context, configerType cache.ConfigerType) error
func WatchUpdate ¶
Types ¶
type RedisExt ¶
type RedisExt struct {
// contains filtered or unexported fields
}
func NewRedisExt ¶
func (*RedisExt) HIncrByFloat ¶
func (*RedisExt) HSet ¶
func (m *RedisExt) HSet(ctx context.Context, key string, field string, value interface{}) (b bool, err error)
hashes apis
func (*RedisExt) ZRangeByLex ¶
func (*RedisExt) ZRangeByScore ¶
func (*RedisExt) ZRangeWithScores ¶
func (*RedisExt) ZRevRangeWithScores ¶
Click to show internal directories.
Click to hide internal directories.