MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / InitCMD

Method InitCMD

IceFireDB-PubSub/pkg/router/redisCluster/router.go:48–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46const CMDEXEC = "CMDEXEC"
47
48func (r *Router) InitCMD() {
49 r.AddCommand("COMMAND", r.cmdCOMMAND)
50 r.AddCommand("PING", r.cmdPING)
51 r.AddCommand("QUIT", r.cmdQUIT)
52 r.AddCommand(CMDEXEC, r.cmdCMDEXEC)
53
54 r.AddCommand("DEL", r.cmdDEL)
55 r.AddCommand("EXISTS", r.cmdEXISTS)
56 r.AddCommand("MGET", r.cmdMGET)
57}
58
59func (r *Router) Handle(w *RESPHandle.WriterHandle, args []interface{}) error {
60 defer func() {

Callers

nothing calls this directly

Calls 1

AddCommandMethod · 0.95

Tested by

no test coverage detected