hos-queues
HoS services and instances info from RabbitMq management.
Last updated 4 years ago by al_kh31 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hos-queues 
SYNC missed versions from official npm registry.

hos-queues

HoS services and instances info from RabbitMq management

npm install hos-queues

Example

var hosqueues = require('hos-queues');
hosqueues.now()
.then(function(res){
    console.log(res);
})
.catch(function(err){
    console.log(err);
})

you can set:

  • AMQP_URL
  • AMQP_MANAGMENT_PORT
  • AMQP_USERNAME
  • AMQP_PASSWORD

as environmental variables or set them programmatically:

var hosqueues = require('hos-queues');
hosqueues.amqpaddress = 'localhost'
hosqueues.amqpManagementPort = '15672'
hosqueues.amqpusername = 'guest'
hosqueues.amqppassword = 'guest'
hosqueues.now()
.then(function(res){
    console.log(res);
})
.catch(function(err){
    console.log(err);
})

Running Tests

Run test by:

gulp test

This software is licensed under the MIT License.

Current Tags

  • 0.0.0                                ...           latest (4 years ago)

1 Versions

  • 0.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (5)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |