ws-native.module.ts
555 Bytes
import { Module } from '@nestjs/common';
import { WsNativeGateway } from './ws-native.gateway';
import { WsNativeService } from './ws-native.service';
import { WsNativeController } from './ws-native.controller';
import { AuthModule } from '../auth/auth.module';
import { EventEmitterModule } from '@nestjs/event-emitter';
@Module({
imports: [AuthModule, EventEmitterModule.forRoot()],
controllers: [WsNativeController],
providers: [WsNativeGateway, WsNativeService],
exports: [WsNativeGateway, WsNativeService],
})
export class WsNativeModule {}