import { DanetRouter } from "https://deno.land/x/danet@1.2.2/src/router/mod.ts";
Constructors
new
DanetRouter(injector: Injector,
guardExecutor?: GuardExecutor,
filterExecutor?: FilterExecutor,
viewRenderer?: Renderer,
middlewareExecutor?: MiddlewareExecutor,
Methods
private
registerController(Controller: Constructor)private
resolveMethodParam(Controller: ControllerConstructor,
ControllerMethod: (...args: any[]) => unknown,
private
sendResponse()handleRoute(Controller: ControllerConstructor, ControllerMethod: Callback)
registerControllers(Controllers: Constructor[])