fix
wangpengfei
2023-08-30 88324f3d47dab99da5b4bd9422e50b63b97c242c
1
2
3
4
5
6
7
package config
 
type Redis struct {
    Addr     string `mapstructure:"addr" json:"addr" yaml:"addr"`             // 服务器地址:端口
    Password string `mapstructure:"password" json:"password" yaml:"password"` // 密码
    DB       int    `mapstructure:"db" json:"db" yaml:"db"`                   // redis的哪个数据库
}