增加了redis的数据库
This commit is contained in:
@@ -5,4 +5,5 @@ type Redis struct {
|
||||
Port int `mapstructure:"port" json:"port" yaml:"port"` // 服务器端口
|
||||
Password string `mapstructure:"password" json:"password" yaml:"password"` // 密码
|
||||
PoolSize int `mapstructure:"pool-size" json:"pool-size" yaml:"pool-size"` // 连接池大小
|
||||
Db int `mapstructure:"db" json:"db" yaml:"db"` // 数据库
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user