Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
func Check(rClient *redis.Client, key string)
Check function searches for a key in the database, creates the key
func Decrement ¶
func Decrement(rClient *redis.Client, key string)
Decrement function decrements the value for a given key.
func GetRedisClient ¶
func GetRedisClient(cred *RClient) *redis.Client
GetResiClient returns a new redis client given the credential.
Types ¶
Click to show internal directories.
Click to hide internal directories.