tallship-manifest
Version:
High availability service management - a list of the cargo carried by a ship, made for the use of various agents and officials at the ports of destination.
19 lines (14 loc) • 309 B
JavaScript
var Manifest = require('../');
var manifest = new Manifest();
manifest.connect({
port: 3100
});
manifest.connect({
port: 4100
});
setInterval(function() {
console.log('');
console.log("services:", manifest.services());
console.log('');
console.log("::::::::::::::::::::::::::::::");
}, 5000);