Skip to content

Kronos-Integration/service-consul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status

@kronos-integration/service-consul

kronos service to integrate with consul

usage

API

Table of Contents

ServiceConsul

Extends Service

service building a bridge to consul

Parameters

  • args ...any

autostart

Start immediate

Returns boolean true

_start

Register the kronos service in consul

Returns Promise that fullfills on succesfull startup

_stop

Deregister the service from consul

Returns Promise that fullfills when the deregistering has finished

update

Update service definition in consul

Parameters

  • delay number time to wait before doing the unregister/register action

name

Returns string 'consul'

install

With npm do:

npm install @kronos-integration/service-consul

license

BSD-2-Clause

About

Consul extension for the service manager

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6