import * as alosaurLite from "https://deno.land/x/alosaur_lite@v0.1.1/mod.ts";
Functions
Render JSON or other content such as strings, numbers, booleans | |
Controller with route | |
f Ctx | Injects a context parameter value to the controller action parameter. Must be applied on a controller action parameter. |
Registers an action to be executed when Delete request comes on a given route. Must be applied on a controller action. | |
f Get | Get action function |
Injects a request's route parameter value to the controller action parameter. Must be applied on a controller action parameter. | |
Registers an action to be executed when PATCH request comes on a given route. Must be applied on a controller action. | |
f Post | Post action function |
f Put | Registers an action to be executed when POST request comes on a given route. Must be applied on a controller action. |
Injects a request's query parameter value to the controller action parameter. Must be applied on a controller action parameter. | |
Registering controllers | |
f View | Renders view with template with changed template render |
Interfaces
Application settings | |
Controller metadata used to storage information about registered controller. | |