Documentation ¶
Index ¶
- type HashRedis
- func (r *HashRedis) HDel(key string, fields ...string) *redis.IntCmd
- func (r *HashRedis) HExists(key string, field string) *redis.BoolCmd
- func (r *HashRedis) HGet(key string, field string) *redis.StringCmd
- func (r *HashRedis) HKeys(key string) *redis.StringSliceCmd
- func (r *HashRedis) HLen(key string) *redis.IntCmd
- func (r *HashRedis) HMGet(key string, fields ...string) *redis.SliceCmd
- func (r *HashRedis) HMSet(key string, values map[string]interface{}) *redis.BoolCmd
- func (r *HashRedis) HSet(key string, field string, value interface{}) *redis.IntCmd
- func (r *HashRedis) HVal(key string) *redis.StringSliceCmd
- type HashRedisInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashRedis ¶
type HashRedis struct {
// contains filtered or unexported fields
}
func NewRedisHash ¶
type HashRedisInterface ¶
type HashRedisInterface interface { HGet(key string, field string) *redis.StringCmd HSet(key string, field string, value interface{}) *redis.BoolCmd HDel(key string, fields ...string) *redis.IntCmd HExists(key string, field string) *redis.BoolCmd HKeys(key string) *redis.StringSliceCmd HLen(key string) *redis.IntCmd HMGet(key string, fields ...string) *redis.SliceCmd HMSet(key string, values map[string]interface{}) *redis.StatusCmd HVal(key string) *redis.SliceCmd }
Click to show internal directories.
Click to hide internal directories.