redis

package
v0.0.0-...-8c0e806 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2021 License: LGPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Close = make(chan struct{})
View Source
var Pool *redis.Pool
View Source
var RedisURL string

Functions

func RedisDel

func RedisDel(k string) (int, error)

func RedisExists

func RedisExists(k string) (bool, error)

func RedisGet

func RedisGet(k string) (string, error)

func RedisGetSet

func RedisGetSet(k, v string) (string, error)

func RedisHGet

func RedisHGet(h, k string) (string, error)

func RedisHGetAll

func RedisHGetAll(h string) (map[string]string, error)

func RedisHMSet

func RedisHMSet(h string, m map[string]string) (string, error)

func RedisSAdd

func RedisSAdd(s, v string) (int, error)

func RedisSISMember

func RedisSISMember(s, v string) (bool, error)

func RedisSMAdd

func RedisSMAdd(s string, v ...string) (int, error)

func RedisSMRem

func RedisSMRem(s string, v ...string) (int, error)

func RedisSMembers

func RedisSMembers(s string) ([]string, error)

func RedisSPop

func RedisSPop(s string) (string, error)

func RedisSRem

func RedisSRem(s, v string) (int, error)

func RedisSet

func RedisSet(k, v string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL