1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 12:52:27 +08:00

解决冲突

This commit is contained in:
silenceper
2020-05-24 01:43:27 +08:00
parent f9a2c15361
commit 2e94f61043
3 changed files with 56 additions and 7 deletions

2
cache/redis.go vendored
View File

@@ -19,7 +19,7 @@ type RedisOpts struct {
Database int `yml:"database" json:"database"`
MaxIdle int `yml:"max_idle" json:"max_idle"`
MaxActive int `yml:"max_active" json:"max_active"`
IdleTimeout int32 `yml:"idle_timeout" json:"idle_timeout"` //second
IdleTimeout int `yml:"idle_timeout" json:"idle_timeout"` //second
}
//NewRedis 实例化