Skip to content

rysenko/etc-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Etcd client to fetch registry populated by registrator

This will fetch services map and update it once changes.

Usage:

var registry = require('etc-registry');
registry.load({host: 'localhost', path: '/registry'}, function(err) {
    console.log(registry.get('service:3000')); // could be 10.0.0.75:32456
});

About

etc-registry is a registry loader for node.js projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published