consul-node
consul-node copied to clipboard
A node.js client library for consul.
Per documentation here: http://www.consul.io/docs/agent/http/agent.html#agent_service_register
Error in the readme
There is a typo in the readme in the configuration section: ``` js var Consul = require('consul-node'); var consul = new Consul({ host: 'localhost', port: 8300, }); ``` should be:...
It is possible for consul kv items to be empty, e.g. you might get something like {"CreateIndex":915,"ModifyIndex":915,"LockIndex":0,"Key":"some/key/prefix","Flags":4,"Value":null} In this case, node-consul will attempt to base64 decode this, which results in...
I know it's just a convenience, but I thought you might like it. kv.watch allow you to get the value of a key, and to be called back each time...
Hi! I'm about to make some contributions to consul-node, since we're about to start using Consul and need a NodeJS client. Now I'm mainly looking for some guidance related to...