Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HDel ¶
Deletes one or more fields and their values from a hash. Deletes the hash if no fields remain. HDEL key field [field ...] https://redis.io/commands/hdel
type HExists ¶
Determines whether a field exists in a hash. HEXISTS key field https://redis.io/commands/hexists
type HGet ¶
Returns the value of a field in a hash. HGET key field https://redis.io/commands/hget
type HGetAll ¶
Returns all fields and values in a hash. HGETALL key https://redis.io/commands/hgetall
type HIncrBy ¶
Increments the integer value of a field in a hash by a number. Uses 0 as initial value if the field doesn't exist. HINCRBY key field increment https://redis.io/commands/hincrby
type HIncrByFloat ¶
Increments the floating point value of a field by a number. Uses 0 as initial value if the field doesn't exist. HINCRBY key field increment https://redis.io/commands/hincrbyfloat
func ParseHIncrByFloat ¶
func ParseHIncrByFloat(b redis.BaseCmd) (HIncrByFloat, error)
type HKeys ¶
Returns all fields in a hash. HKEYS key https://redis.io/commands/hkeys
type HLen ¶
Returns the number of fields in a hash. HLEN key https://redis.io/commands/hlen
type HMGet ¶
Returns the values of multiple fields in a hash. HMGET key field [field ...] https://redis.io/commands/hmget
type HMSet ¶
Sets the values of multiple fields in a hash. HMSET key field value [field value ...] https://redis.io/commands/hmset
type HScan ¶
Iterates over fields and values of a hash. HSCAN key cursor [MATCH pattern] [COUNT count] https://redis.io/commands/hscan
type HSet ¶
Sets the values of one ore more fields in a hash. HSET key field value [field value ...] https://redis.io/commands/hset
type HSetNX ¶
Sets the value of a field in a hash only when the field doesn't exist. HSETNX key field value https://redis.io/commands/hsetnx
type HVals ¶
Returns all values in a hash. HVALS key https://redis.io/commands/hvals