2020-09-29 17:25:49 +08:00
|
|
|
package cache
|
2020-07-26 17:09:05 +08:00
|
|
|
|
2020-08-08 16:40:10 +08:00
|
|
|
import "github.com/tal-tech/go-zero/core/stores/redis"
|
2020-07-26 17:09:05 +08:00
|
|
|
|
|
|
|
|
type (
|
|
|
|
|
ClusterConf []NodeConf
|
|
|
|
|
|
|
|
|
|
NodeConf struct {
|
|
|
|
|
redis.RedisConf
|
|
|
|
|
Weight int `json:",default=100"`
|
|
|
|
|
}
|
|
|
|
|
)
|