(operation string, handlers ...router.HandlerFunc)
| 132 | } |
| 133 | |
| 134 | func (r *Router) AddCommand(operation string, handlers ...router.HandlerFunc) router.IRoutes { |
| 135 | handlers = r.combineHandlers(handlers) |
| 136 | r.addRoute(operation, handlers) |
| 137 | return r |
| 138 | } |
| 139 | |
| 140 | func (r *Router) Close() error { |
| 141 | r.redisCluster.Close() |
no test coverage detected