Search
Preparing search index...
The search index is not available
@betit/orion-node-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"health/checks"
External module "health/checks"
Index
Enumerations
Health
Check
Result
Interfaces
Dependency
Variables
MILLISECOND
MINUTE
SECOND
summary
Functions
append
Health
Check
Error
check
Health
OrTimeout
get
Summary
OfHealth
Checks
reset
Summary
OfHealth
Checks
Variables
Const
MILLISECOND
MILLISECOND
:
1
= 1
Const
MINUTE
MINUTE
:
number
= 60 * SECOND
Const
SECOND
SECOND
:
number
= 1000 * MILLISECOND
Let
summary
summary
:
Error
[]
= []
Functions
append
Health
Check
Error
append
Health
Check
Error
(
err
:
Error
)
:
void
Parameters
err:
Error
Returns
void
check
Health
OrTimeout
check
Health
OrTimeout
(
name
:
string
, timeout
:
number
, check
:
function
)
:
Promise
<
(
OrionError
|
HC_OK
|
HC_WARN
|
HC_CRIT
)
[]
>
Parameters
name:
string
timeout:
number
check:
function
(
)
:
Promise
<
[
HealthCheckResult
,
OrionError
|
undefined
]
>
Returns
Promise
<
[
HealthCheckResult
,
OrionError
|
undefined
]
>
Returns
Promise
<
(
OrionError
|
HC_OK
|
HC_WARN
|
HC_CRIT
)
[]
>
get
Summary
OfHealth
Checks
get
Summary
OfHealth
Checks
(
)
:
Error
[]
Returns
Error
[]
reset
Summary
OfHealth
Checks
reset
Summary
OfHealth
Checks
(
)
:
void
Returns
void
Globals
"codec/index"
"codec/json"
"codec/msgpack"
"error/error"
"health/checks"
"health/health"
"health/http_
server"
"logger/colors"
"logger/levels"
"logger/logger"
"logger/message"
"orion"
"request/request"
"response/response"
"service/index"
"transport/index"
"transport/kafka"
"transport/nats"
"types/interfaces"
"utils/async
Array"
"utils/index"
Health
Check
Result
Dependency
MILLISECOND
MINUTE
SECOND
summary
append
Health
Check
Error
check
Health
OrTimeout
get
Summary
OfHealth
Checks
reset
Summary
OfHealth
Checks
Generated using
TypeDoc