@cosmosapp/pay_sdkDefinitionenServer

HealthManager

Service health probes — client.health. These routes are public (they don't require an authenticated consumer).

Service health probes — client.health. These routes are public (they don't require an authenticated consumer).

Constructor

HealthManager

constructor(client: Client)

Parameters

Properties

client

readonly client: Client

Type Client

Methods

liveness()

Liveness probe — resolves when the service is up.

liveness(): Promise<boolean>

Returns Promise<boolean>

readiness()

Readiness probe (checks the database). Returns the health report.

readiness(): Promise<HealthCheckData>

Returns Promise<HealthCheckData>

Auf dieser Seite