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

Method Do

IceFireDB-Redis-Proxy/pkg/router/redisNode/router.go:134–139  ·  view source on GitHub ↗
(cmd string, args ...interface{})

Source from the content-addressed store, hash-verified

132}
133
134func (r *Router) Do(cmd string, args ...interface{}) (reply interface{}, err error) {
135 conn := r.client.Get()
136 defer conn.Close()
137
138 return conn.Do(cmd, args...)
139}
140
141func (r *Router) Use(funcs ...router.HandlerFunc) router.IRoutes {
142 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