feat(cache): 添加复合键缓存操作支持 添加了基于 uint32+string 组合键的缓存操作方法,包括 GetByCompoundKey、SetByCompoundKey、DelByCompoundKey 和 ContainsByCompoundKey 方法,用于处理用户ID和会话ID的组合缓存场景 fix(vscode): 添加 cSpell 配置支持 struc 词汇 refactor(session): 移除过时的会话管理方法 移除了基于单一字符串键的会话管理方法,因为已迁移到使用 复合键的缓存操作方式 ```
51 lines
1.8 KiB
Go
51 lines
1.8 KiB
Go
module blazing/modules/player
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
github.com/gogf/gf/v2 v2.8.0
|
|
github.com/tnnmigga/enum v1.0.2
|
|
)
|
|
|
|
require (
|
|
github.com/dlclark/regexp2 v1.11.4 // indirect
|
|
github.com/emirpasic/gods v1.18.1 // indirect
|
|
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
|
|
github.com/google/pprof v0.0.0-20230207041349-798e818bf904 // indirect
|
|
github.com/shopspring/decimal v1.3.1 // indirect
|
|
github.com/stretchr/testify v1.11.1 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.4.0 // indirect
|
|
github.com/alpacahq/alpacadecimal v0.0.8
|
|
github.com/clbanning/mxj/v2 v2.7.0 // indirect
|
|
github.com/creasty/defaults v1.8.0
|
|
github.com/dop251/goja v0.0.0-20251008123653-cf18d89f3cf6
|
|
github.com/fatih/color v1.18.0 // indirect
|
|
github.com/fsnotify/fsnotify v1.7.0 // indirect
|
|
github.com/go-logr/logr v1.4.2 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gorilla/websocket v1.5.3 // indirect
|
|
github.com/grokify/html-strip-tags-go v0.1.0 // indirect
|
|
github.com/kr/pretty v0.3.1 // indirect
|
|
github.com/magiconair/properties v1.8.7 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-runewidth v0.0.15 // indirect
|
|
github.com/olekukonko/tablewriter v0.0.5 // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/rogpeppe/go-internal v1.11.0 // indirect
|
|
github.com/samber/lo v1.52.0
|
|
go.opentelemetry.io/otel v1.24.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.24.0 // indirect
|
|
go.opentelemetry.io/otel/sdk v1.24.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.24.0 // indirect
|
|
golang.org/x/net v0.33.0 // indirect
|
|
golang.org/x/sys v0.30.0 // indirect
|
|
golang.org/x/text v0.22.0 // indirect
|
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|