Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/allo_controllers/model/ControllerLoader.ts>ControllerLoader

🦕 Simple "convention over configuration" Controllers solution for Deno.
Go to Latest
class ControllerLoader
import { ControllerLoader } from "https://deno.land/x/allo_controllers@v1.1.3/model/ControllerLoader.ts";

Constructors

new
ControllerLoader(dir: string)

Methods

createInstanceObject(
request: Request,
controller: string,
action: string,
params: Record<string, string>,
): Promise<Controller>