The bundle provide a Redigo integration to GoZix application.
go get github.com/gozix/redigo/v4
{
"redis": {
"default": {
"host": "127.0.0.1",
"port": "6379",
"db": 0,
"password": "somepassword",
"max_idle": 3,
"max_active": 100,
"idle_timeout": "4m"
}
}
}
"password" field is optional and ignored if empty "db" field is optional. Default is 0
You can find documentation on pkg.go.dev and read source code if needed.
If you have any questions, feel free to create an issue.