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

Method Use

IceFireDB-PubSub/pkg/router/redisCluster/router.go:129–132  ·  view source on GitHub ↗
(funcs ...router.HandlerFunc)

Source from the content-addressed store, hash-verified

127}
128
129func (r *Router) Use(funcs ...router.HandlerFunc) router.IRoutes {
130 r.MiddleWares = append(r.MiddleWares, funcs...)
131 return r
132}
133
134func (r *Router) AddCommand(operation string, handlers ...router.HandlerFunc) router.IRoutes {
135 handlers = r.combineHandlers(handlers)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected