将存储部分迁移到Redis

This commit is contained in:
wtz
2026-02-20 19:41:02 +08:00
parent 13d2b0e1dc
commit a272dad5f1
9 changed files with 704 additions and 147 deletions

View File

@@ -2,6 +2,13 @@ module doudizhu-server
go 1.21
require github.com/gorilla/websocket v1.5.1
require (
github.com/gorilla/websocket v1.5.1
github.com/redis/go-redis/v9 v9.5.1
)
require golang.org/x/net v0.17.0 // indirect
require (
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
golang.org/x/net v0.17.0 // indirect
)