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

x/deno_nest/example/dev/user/controllers/role.controller.ts>RoleController

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

Constructors

new
RoleController(
roleService: RoleService,
asyncService: AsyncService,
loggerService: LoggerService,
)

Methods

delay(id: string)
info(
params: RoleInfoDto,
headers: Headers,
host: string,
)
test(
userId: string,
params: any,
age: number,
)
testInterceptor(params: any)
testParam(params: any, id: number)