config.go 180 B

123456789101112
  1. package cache
  2. import "github.com/tal-tech/go-zero/core/stores/redis"
  3. type (
  4. ClusterConf []NodeConf
  5. NodeConf struct {
  6. redis.RedisConf
  7. Weight int `json:",default=100"`
  8. }
  9. )