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

Method AddCommand

IceFireDB-PubSub/pkg/router/redisCluster/router.go:134–138  ·  view source on GitHub ↗
(operation string, handlers ...router.HandlerFunc)

Source from the content-addressed store, hash-verified

132}
133
134func (r *Router) AddCommand(operation string, handlers ...router.HandlerFunc) router.IRoutes {
135 handlers = r.combineHandlers(handlers)
136 r.addRoute(operation, handlers)
137 return r
138}
139
140func (r *Router) Close() error {
141 r.redisCluster.Close()

Callers 1

InitCMDMethod · 0.95

Calls 2

combineHandlersMethod · 0.95
addRouteMethod · 0.95

Tested by

no test coverage detected