Documentation ¶
Index ¶
- type RedisX
- func (rx *RedisX) ExistEX(ctx context.Context, key string, ttl time.Duration) error
- func (rx *RedisX) HGetXEX(ctx context.Context, key, field string, ttl time.Duration) (string, error)
- func (rx *RedisX) HIncrByEX(ctx context.Context, key, field string, incr int64, ttl time.Duration) error
- func (rx *RedisX) HIncrByXEX(ctx context.Context, key, field string, incr int64, ttl time.Duration) error
- func (rx *RedisX) HMGetXEX(ctx context.Context, key string, ttl time.Duration, field ...string) ([]interface{}, error)
- func (rx *RedisX) HMSetEX(ctx context.Context, key string, fieldMap map[string]interface{}, ...) error
- func (rx *RedisX) HMSetXEX(ctx context.Context, key string, fieldMap map[string]interface{}, ...) error
- func (rx *RedisX) IncrByXEX(ctx context.Context, key string, incr int64, ttl time.Duration) error
- func (rx *RedisX) ZAddEX(ctx context.Context, key string, zs []*redis.Z, ttl time.Duration) error
- func (rx *RedisX) ZAddXEX(ctx context.Context, key string, zs []*redis.Z, ttl time.Duration) error
- func (rx *RedisX) ZRevRangeByMember(ctx context.Context, key string, member interface{}, offset int64) ([]int64, error)
- func (rx *RedisX) ZRevRangeByMemberWithScores(ctx context.Context, key string, member interface{}, offset int64) ([]*redis.Z, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisX ¶
type RedisX struct {
redis.Cmdable
}
func (*RedisX) HIncrByXEX ¶ added in v0.0.6
func (*RedisX) ZRevRangeByMember ¶ added in v0.0.21
Click to show internal directories.
Click to hide internal directories.