Iskra API Reference
Preparing search index...
web-kit/src
HealthCheckFeature
Class HealthCheckFeature
Implements
Feature
Index
Constructors
constructor
Properties
name
Accessors
paths
Methods
add
Readiness
Check
initialize
routes
Constructors
constructor
new
HealthCheckFeature
(
config
?:
HealthCheckConfig
)
:
HealthCheckFeature
Parameters
config
:
HealthCheckConfig
= {}
Returns
HealthCheckFeature
Properties
name
name
:
string
= 'health'
Accessors
paths
get
paths
()
:
string
[]
The routes this feature serves, which the rate limiter leaves out by default.
Returns
string
[]
Methods
add
Readiness
Check
addReadinessCheck
(
name
:
string
,
check
:
()
=>
Promise
<
boolean
>
)
:
void
Parameters
name
:
string
check
:
()
=>
Promise
<
boolean
>
Returns
void
initialize
initialize
(
kernel
:
Kernel
)
:
Promise
<
void
>
Parameters
kernel
:
Kernel
Returns
Promise
<
void
>
routes
routes
(
app
:
Hono
)
:
void
Parameters
app
:
Hono
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
Accessors
paths
Methods
add
Readiness
Check
initialize
routes
Iskra API Reference
Loading...
The routes this feature serves, which the rate limiter leaves out by default.