Skip to main content
Module

x/allo_controllers/mod.ts>ControllerManager

🦕 Simple "convention over configuration" Controllers solution for Deno.
Go to Latest
class ControllerManager
Re-export
import { ControllerManager } from "https://deno.land/x/allo_controllers@v1.1.1-beta/mod.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>