Moeen Chat Service - v1.0.0
Preparing search index...
consul/consul.service
ConsulService
Class ConsulService
Implements
OnApplicationBootstrap
OnApplicationShutdown
Index
Constructors
constructor
Properties
consul
datacenter
health
heartbeat
Interval
instance
Id
logger
node
Id
round
Robin
Counters
service
Host
service
Name
service
Port
Methods
check
Health
Dependencies
get
Consul
health
Check
on
Application
Bootstrap
on
Application
Shutdown
start
Heartbeat
Constructors
constructor
new
ConsulService
(
health
:
HealthService
)
:
ConsulService
Parameters
health
:
HealthService
Returns
ConsulService
Properties
Private
consul
consul
:
Consul
Private
datacenter
datacenter
:
string
Private
Readonly
health
health
:
HealthService
Private
heartbeat
Interval
heartbeatInterval
:
Timeout
Private
instance
Id
instanceId
:
string
Private
Readonly
logger
logger
:
Logger
= ...
Private
node
Id
nodeId
:
string
Private
round
Robin
Counters
roundRobinCounters
:
Map
<
string
,
number
>
= ...
Private
service
Host
serviceHost
:
string
Private
service
Name
serviceName
:
string
Private
service
Port
servicePort
:
number
Methods
check
Health
Dependencies
checkHealthDependencies
()
:
Promise
<
AppHealthType
|
null
>
Returns
Promise
<
AppHealthType
|
null
>
get
Consul
getConsul
()
:
Consul
Returns
Consul
health
Check
healthCheck
()
:
Promise
<
"error"
|
"ok"
|
"partial"
>
Returns
Promise
<
"error"
|
"ok"
|
"partial"
>
on
Application
Bootstrap
onApplicationBootstrap
()
:
Promise
<
void
>
Returns
Promise
<
void
>
on
Application
Shutdown
onApplicationShutdown
()
:
Promise
<
void
>
Returns
Promise
<
void
>
start
Heartbeat
startHeartbeat
()
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
consul
datacenter
health
heartbeat
Interval
instance
Id
logger
node
Id
round
Robin
Counters
service
Host
service
Name
service
Port
Methods
check
Health
Dependencies
get
Consul
health
Check
on
Application
Bootstrap
on
Application
Shutdown
start
Heartbeat
Moeen Chat Service - v1.0.0
Loading...