Documentation
¶
Index ¶
- Variables
- func AddToSet(key string, value string) error
- func CreateRedisInstance(id string) (*redis.Client, error)
- func GetSetMemberValues(key string) ([]string, error)
- func PublishMessage(channel string, message []byte) error
- func RemoveFromSet(key string, value string) error
- func SubscribeToChannel(channel string, handler func(message map[string]string))
Constants ¶
This section is empty.
Variables ¶
View Source
var DEFAULT_ADDR = "localhost:6379"
View Source
var DEFAULT_ID = "Redis"
View Source
var DEFAULT_PASSWORD = ""
Functions ¶
func CreateRedisInstance ¶
func GetSetMemberValues ¶
func PublishMessage ¶
Publish message to Redis channel
func RemoveFromSet ¶
Remove existing value from the set defined by a "key" name
func SubscribeToChannel ¶
Subscribe to a Redis channel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.