Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/allo_controllers/libs/ControllerManager.ts>ControllerManager

🦕 Simple "convention over configuration" Controllers solution for Deno.
Go to Latest
class ControllerManager
import { ControllerManager } from "https://deno.land/x/allo_controllers@v1.0.3-beta/libs/ControllerManager.ts";

Constructors

new
ControllerManager(dir: string)

Properties

readonly
defaultActionFallback: string
readonly
defaultControllerFallback: string

Methods

addDependency(name: string, instance: Object)
createResponse(
meta: string,
req: Request,
params: Record<string, string>,
): Promise<Response>