From 05849879289d8420ebdc8e8e96b792c6fe5559c1 Mon Sep 17 00:00:00 2001 From: keepchen Date: Tue, 28 May 2024 14:36:46 +0800 Subject: [PATCH] =?UTF-8?q?redis=E5=8E=BB=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/redis/redis_cluster.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/redis/redis_cluster.go b/lib/redis/redis_cluster.go index 52ff9ea..e91203c 100644 --- a/lib/redis/redis_cluster.go +++ b/lib/redis/redis_cluster.go @@ -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集群连接