2024-07-11 11:00:51 +08:00
|
|
|
import { Module } from '@nestjs/common';
|
|
|
|
import { AppController } from './app.controller';
|
|
|
|
import { AppService } from './app.service';
|
|
|
|
import { TrpcModule } from './trpc/trpc.module';
|
2024-07-22 13:34:10 +08:00
|
|
|
import { RedisService } from './redis/redis.service';
|
|
|
|
|
|
|
|
import { RedisModule } from './redis/redis.module';
|
2024-08-02 19:48:38 +08:00
|
|
|
import { SocketGateway } from './socket/socket.gateway';
|
|
|
|
import { QueueModule } from './queue/queue.module';
|
2024-07-11 11:00:51 +08:00
|
|
|
|
|
|
|
@Module({
|
2024-08-02 19:48:38 +08:00
|
|
|
imports: [TrpcModule, RedisModule, QueueModule],
|
2024-07-11 11:00:51 +08:00
|
|
|
controllers: [AppController],
|
2024-08-02 19:48:38 +08:00
|
|
|
providers: [AppService, RedisService, SocketGateway],
|
2024-07-11 11:00:51 +08:00
|
|
|
})
|
|
|
|
export class AppModule { }
|