Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoSimplicity/LinkMe
/ AddCommand
Method
AddCommand
internal/repository/cache/redis_cmd.go:20–20 ·
view source on GitHub ↗
(args ...string)
Source
from the content-addressed store, hash-verified
18
19
type
RedisEXCmd
interface
{
20
AddCommand(args ...string)
//添加redis命令
21
Exec() error
//执行具有修改性的redis命令,失败自动回滚
22
Rollback()
//可调用完成回滚
23
}
Callers
nothing calls this directly
Implementers
1
redisEXCmd
internal/repository/cache/redis_cmd.go
Calls
no outgoing calls
Tested by
no test coverage detected