Skip to main content
Deno 2 is finally here 🎉️
Learn more
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@v1.15.1/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)