Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_nest/example/dev/user/controllers/user.controller.ts>UserController

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
class UserController
import { UserController } from "https://deno.land/x/deno_nest@v3.6.2/example/dev/user/controllers/user.controller.ts";

Constructors

new
UserController(loggerService: LoggerService)

Methods

del(params: any)
err()
getCitys(ctx: Context, params: any)
info(
methodName: string,
controllerName: string,
context: Context,
)
list(context: Context)
upload2(result: UploadDto, res: Response)