kronos service to integrate with consul
npm install kronos-service-consul













consul: - as a config provider - for service discovery
- ServiceConsul
- autostart
- \_start
- \_stop
- update
- name
Extends Service
service building a bridge to consul
Parameters
- config
- owner
Start immediate
Returns boolean true
Register the kronos service in consul
Returns Promise that fullfills on succesfull startup
Deregister the service from consul
Returns Promise that fullfills when the deregistering has finished
Update service definition in consul
Parameters
- delay number time to wait before doing the unregister/register action
Returns string 'consul'
With npm do:
``shell``
npm install kronos-service-consul
BSD-2-Clause