(operation string, handlers ...router.HandlerFunc)
| 144 | } |
| 145 | |
| 146 | func (r *Router) AddCommand(operation string, handlers ...router.HandlerFunc) router.IRoutes { |
| 147 | handlers = r.combineHandlers(handlers) |
| 148 | r.addRoute(operation, handlers) |
| 149 | return r |
| 150 | } |
| 151 | |
| 152 | func (r *Router) Close() error { |
| 153 | return r.client.Close() |
no test coverage detected