(operation string, handlers ...router.HandlerFunc)
| 152 | } |
| 153 | |
| 154 | func (r *Router) AddCommand(operation string, handlers ...router.HandlerFunc) router.IRoutes { |
| 155 | handlers = r.combineHandlers(handlers) |
| 156 | r.addRoute(operation, handlers) |
| 157 | return r |
| 158 | } |
| 159 | |
| 160 | func (r *Router) Close() error { |
| 161 | return r.client.Close() |
no test coverage detected