db

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckListener added in v0.4.1

func CheckListener(serviceURL string) (ok bool, err error)

func GetDB

func GetDB() (r *redis.Client)

func OpenRedis

func OpenRedis() (rdb *redis.Client, err error)

func RdbKeyListeners added in v0.4.1

func RdbKeyListeners() (rdb *redis.Client, key string, err error)

func RegisterListener added in v0.4.1

func RegisterListener(serviceURL string) (err error)

func RemoveListener added in v0.4.1

func RemoveListener(serviceURL string) (err error)

func SetDB

func SetDB(r *redis.Client)

Types

This section is empty.

Jump to

Keyboard shortcuts

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