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

Method AddCommand

IceFireDB-PubSub/pkg/router/redisNode/router.go:154–158  ·  view source on GitHub ↗
(operation string, handlers ...router.HandlerFunc)

Source from the content-addressed store, hash-verified

152}
153
154func (r *Router) AddCommand(operation string, handlers ...router.HandlerFunc) router.IRoutes {
155 handlers = r.combineHandlers(handlers)
156 r.addRoute(operation, handlers)
157 return r
158}
159
160func (r *Router) Close() error {
161 return r.client.Close()

Callers 1

InitCMDMethod · 0.95

Calls 2

combineHandlersMethod · 0.95
addRouteMethod · 0.95

Tested by

no test coverage detected