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

Method Do

IceFireDB-PubSub/pkg/router/redisNode/router.go:142–147  ·  view source on GitHub ↗
(cmd string, args ...interface{})

Source from the content-addressed store, hash-verified

140}
141
142func (r *Router) Do(cmd string, args ...interface{}) (reply interface{}, err error) {
143 conn := r.client.Get()
144 defer conn.Close()
145
146 return conn.Do(cmd, args...)
147}
148
149func (r *Router) Use(funcs ...router.HandlerFunc) router.IRoutes {
150 r.MiddleWares = append(r.MiddleWares, funcs...)

Callers 5

cmdCMDEXECMethod · 0.95
cmdCMDEXECMethod · 0.45
cmdDELMethod · 0.45
cmdEXISTSMethod · 0.45
NewFunction · 0.45

Calls 2

CloseMethod · 0.65
GetMethod · 0.45

Tested by

no test coverage detected