支持单机、哨兵、集群

This commit is contained in:
Yun
2026-05-20 19:46:32 +08:00
parent 6343c814b3
commit 81fa9b7690
4 changed files with 130 additions and 56 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
module code.yun.ink/pkg/redisx
go 1.20
go 1.24
require github.com/go-redis/redis/v8 v8.11.5
require github.com/redis/go-redis/v9 v9.19.0
require (
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
)