Documentation ¶
Index ¶
- Variables
- func ConnectToRedis(logger *utility.Logger, configDatabases config.Redis) *redis.Client
- func PopFromQueue(rdb *redis.Client) (interface{}, error)
- func PushToQueue(rdb *redis.Client, value interface{}) error
- func RedisDelete(rdb *redis.Client, key string) (int64, error)
- func RedisGet(rdb *redis.Client, key string) ([]byte, error)
- func RedisSet(rdb *redis.Client, key string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Ctx = context.Background() KeyName = "EmailQueue" )
Functions ¶
func ConnectToRedis ¶
func PopFromQueue ¶
func PopFromQueue(rdb *redis.Client) (interface{}, error)
func PushToQueue ¶
func PushToQueue(rdb *redis.Client, value interface{}) error
func RedisDelete ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.