redis

package
v0.0.0-...-3f48d72 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RedisChangeKeys redisChangeKeys

RedisChangeKeys redis change keys

View Source
var RedisClient *redis.Client

RedisClient redis instance

View Source
var RedisMapKeys redisMapKeys

RedisMapKeys redis map keys

Functions

func GetRedisHashScanValues

func GetRedisHashScanValues(mapName, key string) ([]string, error)

GetRedisHashScanValues get redis hash scan values.

func GetRedisHashValue

func GetRedisHashValue(mapName, key string) (string, error)

GetRedisHashValue get map value

func GetRedisHashValues

func GetRedisHashValues(mapName string, key []string) ([]string, error)

GetRedisHashValues get collection of map values

func GetRedisValue

func GetRedisValue(key string, src interface{}) error

GetRedisValue to interface

func GetRedisValues

func GetRedisValues(key []string) ([]interface{}, error)

GetRedisValues collection of interfaces

func InitRedis

func InitRedis()

InitRedis initiate connection

func InitTestRedis

func InitTestRedis(connectionString string)

InitTestRedis for testing

func PushItemChangedMessage

func PushItemChangedMessage(property, ID string) error

PushItemChangedMessage push changed messages

func SetRedisHashMapValue

func SetRedisHashMapValue(mapName, key, value string) error

SetRedisHashMapValue set redis hash map value

func SetRedisHashMapValues

func SetRedisHashMapValues(mapName string, value map[string]string) error

SetRedisHashMapValues set redis hash map values

func SetRedisValue

func SetRedisValue(key string, value []byte) error

SetRedisValue set redis value

func SetRedisValues

func SetRedisValues(d map[string][]byte) error

SetRedisValues set redis values

Types

This section is empty.

Jump to

Keyboard shortcuts

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