export cache package, add client interceptor customization
This commit is contained in:
12
core/stores/cache/config.go
vendored
Normal file
12
core/stores/cache/config.go
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
package cache
|
||||
|
||||
import "github.com/tal-tech/go-zero/core/stores/redis"
|
||||
|
||||
type (
|
||||
ClusterConf []NodeConf
|
||||
|
||||
NodeConf struct {
|
||||
redis.RedisConf
|
||||
Weight int `json:",default=100"`
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user