redis.go 233 B

1234567
  1. package config
  2. type Redis struct {
  3. DB int `mapstructure:"db" json:"db" yaml:"db"`
  4. Addr string `mapstructure:"addr" json:"addr" yaml:"addr"`
  5. Password string `mapstructure:"password" json:"password" yaml:"password"`
  6. }