Documentation ¶
Overview ¶
Package redis is where we place all funcs related to redis operations
Index ¶
Constants ¶
View Source
const NetworkTCP string = "tcp"
NetworkTCP is the default network TCP
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
Redis main struct
func InitRedis ¶
func InitRedis(redisConfig config.RedisConfigWrap) *Redis
InitRedis is a func to initialize redis that we are going to use
func (*Redis) KeysPrefix ¶
KeysPrefix get keys by a defined prefix
Click to show internal directories.
Click to hide internal directories.