Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRDBByName ¶
func GetRDBByName(name string) *redis.Client
GetRDBByName get a redis connection by name
func InitDB ¶
func InitDB(rcs []*RedisConfig) (err error)
InitDB initialize multiple redis connections
func InitDefaultDB ¶
func InitDefaultDB(rc *RedisConfig) (err error)
InitDefaultDB Initialize a redis connection
Types ¶
Click to show internal directories.
Click to hide internal directories.