disco-maps

0.0.0 • Public • Published

discomesh

easy network service discovery and advertising in Node.js

require: var disco = require('discomesh')

add a service: disco.addService(type, tag, port) i.e.: disco.addService('riak', 'default', 8896)

delete a service: disco.deleteService(type, tag)

start a service: disco.startService(type, tag) or, start upon add: disco.addService(type, tag).start()

stop a service: disco.stopService(type, tag)

watch for services: disco.watchService(type, tag, listener) tag is optional. will emit all new services of type if not specified

/disco-maps/

    Package Sidebar

    Install

    npm i disco-maps

    Weekly Downloads

    1

    Version

    0.0.0

    License

    BSD

    Last publish

    Collaborators

    • nexxy