Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnection ¶
func NewConnection(config *RedisConfig) (*redis.Client, error)
NewConnection return new connection to redis
Types ¶
type RedisConfig ¶
RedisConfig redis connection
func NewRedisConfig ¶
func NewRedisConfig() *RedisConfig
NewDevRedisConfig return new config for connect to redis with cmd go run main.go or docker-compose
Click to show internal directories.
Click to hide internal directories.