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

Method AddCommand

IceFireDB-Redis-Proxy/pkg/router/redisNode/router.go:146–150  ·  view source on GitHub ↗
(operation string, handlers ...router.HandlerFunc)

Source from the content-addressed store, hash-verified

144}
145
146func (r *Router) AddCommand(operation string, handlers ...router.HandlerFunc) router.IRoutes {
147 handlers = r.combineHandlers(handlers)
148 r.addRoute(operation, handlers)
149 return r
150}
151
152func (r *Router) Close() error {
153 return r.client.Close()

Callers 1

InitCMDMethod · 0.95

Calls 2

combineHandlersMethod · 0.95
addRouteMethod · 0.95

Tested by

no test coverage detected