(funcs ...router.HandlerFunc)
| 127 | } |
| 128 | |
| 129 | func (r *Router) Use(funcs ...router.HandlerFunc) router.IRoutes { |
| 130 | r.MiddleWares = append(r.MiddleWares, funcs...) |
| 131 | return r |
| 132 | } |
| 133 | |
| 134 | func (r *Router) AddCommand(operation string, handlers ...router.HandlerFunc) router.IRoutes { |
| 135 | handlers = r.combineHandlers(handlers) |
nothing calls this directly
no outgoing calls
no test coverage detected