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

Method Use

IceFireDB-PubSub/pkg/router/redisNode/router.go:149–152  ·  view source on GitHub ↗
(funcs ...router.HandlerFunc)

Source from the content-addressed store, hash-verified

147}
148
149func (r *Router) Use(funcs ...router.HandlerFunc) router.IRoutes {
150 r.MiddleWares = append(r.MiddleWares, funcs...)
151 return r
152}
153
154func (r *Router) AddCommand(operation string, handlers ...router.HandlerFunc) router.IRoutes {
155 handlers = r.combineHandlers(handlers)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected