sails-hook-boxfishconsul
v1.0.2
Published
Consul library for the boxfish ads platform
Downloads
6
Readme
BoxfishConsul.js
Installation
npm install boxfishconsul --save
Usage
start up
var consulService = require('boxfishconsul').init();
find service
consulService.findService('service_name').then(function(serviceInstance) {
// do something
}, function(error) {
// noooo
});
Run test
npm test