优化 redis 配置方式

This commit is contained in:
dragon
2025-07-23 17:28:02 +08:00
parent 4ca455fdae
commit 26c6bff029
3 changed files with 40 additions and 28 deletions

4
go.mod
View File

@@ -10,18 +10,16 @@ require (
github.com/google/uuid v1.6.0
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58
github.com/pkg/errors v0.9.1
github.com/redis/go-redis/v9 v9.11.0
github.com/stretchr/testify v1.10.0
github.com/valkey-io/valkey-go v1.0.63
go.uber.org/zap v1.27.0
gopkg.in/yaml.v3 v3.0.1
)
require (
github.com/42wim/httpsig v1.2.3 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/davidmz/go-pageant v1.0.2 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/go-fed/httpsig v1.1.0 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect