22 lines
545 B
TypeScript
22 lines
545 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { HealthzController } from './healthzController';
|
|
import { HealthService } from './healthService';
|
|
import { QueueModule } from '@wwjCore/queue/queueModule';
|
|
import { EventModule } from '@wwjCore/event/eventModule';
|
|
|
|
/**
|
|
* 健康检查模块
|
|
* 提供详细健康检查和 Kubernetes 探针端点
|
|
*/
|
|
@Module({
|
|
imports: [
|
|
QueueModule,
|
|
EventModule,
|
|
],
|
|
controllers: [
|
|
HealthzController,
|
|
],
|
|
providers: [HealthService],
|
|
exports: [HealthService],
|
|
})
|
|
export class HealthModule {} |