File

lib/terminus-bootstrap.service.ts

Description

Bootstraps the third party Terminus library with the configured Module options

Index

Methods

Constructor

constructor(options: TerminusModuleOptions, terminus: Terminus, refHost: HttpAdapterHost, applicationConfig: ApplicationConfig)
Parameters :
Name Type Optional
options TerminusModuleOptions No
terminus Terminus No
refHost HttpAdapterHost<any> No
applicationConfig ApplicationConfig No

Methods

Public getHealthChecksMap
getHealthChecksMap()

Returns the health check map using the configured health indicators

Returns : HealthCheckMap
Public onApplicationBootstrap
onApplicationBootstrap()

Gets called when the application gets bootstrapped.

Returns : void

result-matching ""

    No results matching ""