Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/oak_nest/example/user/controllers/role.controller.ts>RoleController

Refer to nestjs to realize some common functions for Deno
Go to Latest
class RoleController
import { RoleController } from "https://deno.land/x/oak_nest@v2.0.0/example/user/controllers/role.controller.ts";

Constructors

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

Methods

delay(id: string)
info(
name: string,
params: RoleInfoDto,
headers: any,
host: any,
)
test(
context: Context,
name: string,
params: any,
age: number,
)
testInterceptor(params: any)
testParam(params: any, id: number)