Skip to content

Commit

Permalink
redis去除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
keepchen committed May 28, 2024
1 parent c8e6ad0 commit 0584987
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/redis/redis_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ import (
redisLib "github.com/go-redis/redis/v8"
)

// OptionsClusterFields 配置项字段
type OptionsClusterFields struct {
Addrs []string //连接地址
Password string //密码
}

var redisClusterInstance *redisLib.ClusterClient

// InitRedisCluster 初始化redis集群连接
Expand Down

0 comments on commit 0584987

Please sign in to comment.