Upgrade redis client to v4.

ref: http://godoc.org/gopkg.in/redis.v4

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-09-19 17:00:14 +08:00
parent bf56f592e8
commit 9b5815fd9f
5 changed files with 9 additions and 15 deletions

View File

@@ -76,7 +76,7 @@ type SectionStat struct {
type SectionRedis struct {
Addr string `yaml:"addr"`
Password string `yaml:"password"`
DB int64 `yaml:"db"`
DB int `yaml:"db"`
}
// SectionBoltDB is sub seciont of config.