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

Method Use

IceFireDB-Redis-Proxy/pkg/router/redisNode/router.go:141–144  ·  view source on GitHub ↗
(funcs ...router.HandlerFunc)

Source from the content-addressed store, hash-verified

139}
140
141func (r *Router) Use(funcs ...router.HandlerFunc) router.IRoutes {
142 r.MiddleWares = append(r.MiddleWares, funcs...)
143 return r
144}
145
146func (r *Router) AddCommand(operation string, handlers ...router.HandlerFunc) router.IRoutes {
147 handlers = r.combineHandlers(handlers)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected