(funcs ...router.HandlerFunc)
| 139 | } |
| 140 | |
| 141 | func (r *Router) Use(funcs ...router.HandlerFunc) router.IRoutes { |
| 142 | r.MiddleWares = append(r.MiddleWares, funcs...) |
| 143 | return r |
| 144 | } |
| 145 | |
| 146 | func (r *Router) AddCommand(operation string, handlers ...router.HandlerFunc) router.IRoutes { |
| 147 | handlers = r.combineHandlers(handlers) |
nothing calls this directly
no outgoing calls
no test coverage detected