# Functions
Decr decrements a key.
Del deletes keys.
Do execute a command.
Eval evaluates a script.
Exists checks if a key exists.
Get gets the value of a key.
GetClient returns the Redis client.
No description provided by the author
GetListPage retrieves a specific page of elements from the list.
HDel deletes one or more hash fields.
HExists returns if field is an existing field in the hash stored at the key.
HGet returns the value associated with field in the hash stored at the key.
HGetAll returns all fields and values of the hash stored at the key.
HKeys returns all field names in the hash stored at the key.
HLen returns the number of fields contained in the hash stored at the key.
HSet sets field in the hash stored at the key to value.
HSetNX sets field in the hash stored at key to value, only if the field does not already exist.
Incr increments a key.
Init initializes the Redis client.
InsertIntoList inserts an element into the list at a position relative to the pivot.
Keys gets keys by pattern.
LIndex retrieves an element from the list by its index.
LLen returns the length of the list.
LPop removes and returns the first element from the left of the list.
LPush prepends values to the beginning of the list.
LRange retrieves all elements from the list.
LRem removes a specific element from the list.
ObtainLock is a wrapper for redislock.Obtain.
Publish publishes a message to a channel.
RPop removes and returns the first element from the right of the list.
RPush appends values to the end of the list.
Set sets a key with a value and expiration.
SetEx sets a key with a value and expiration if the key exists.
SetNx sets a key with a value and expiration if the key does not exist.
Subscribe subscribes to a channel.
TTL gets the time to live of a key.
ZAdd adds a member with a score to a sorted set.
ZCard returns the number of elements in a sorted set.
ZCount returns the number of elements in a sorted set within a score range.
ZIncrBy increments the score of a member in a sorted set.
ZRange returns a range of elements from a sorted set.
ZRangeByScore returns a range of elements from a sorted set within a score range.
ZRangeByScoreWithScores returns a range of elements from a sorted set within a score range with scores.
ZRangeWithScores returns a range of elements from a sorted set with scores.
ZRank returns the rank of a member in a sorted set.
ZRem removes one or more members from a sorted set.
ZRemRangeByRank removes elements from a sorted set by their rank.
ZRemRangeByScore removes elements from a sorted set within a score range.
ZRevRange returns a range of elements from a sorted set in reverse order.