Skip to content

innotechdevops/redis-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-driver

Install

$ go get github.com/innotechdevops/redis-driver

How to use

  • Wtih env
driver := redisdriver.New(redisdriver.ConfigEnv())
  • With config
driver := redisdriver.New(redisdriver.Config{
    Host:         os.Getenv("REDIS_HOST"),
    Pass:         os.Getenv("REDIS_PASS"),
    DatabaseName: os.Getenv("REDIS_DATABASE"),
    Port:         redisdriver.DefaultPort,
})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages