3.1.6 • Published 8 years ago

consul-helper v3.1.6

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

Do you have a Consul cluster running?

Do you have a local consul agent connected to the cluster?

Good. You can use this package.

This package is not meant for general use and is used specifically for Manticore

How can you use it? Like this:

//set up a watch for all services
var consuler = require('consul-helper')("127.0.0.1"); //ip that local consul agent binds to

//get a list of all services in the datacenter whenever a change in services is detected
consuler.watchServices(function (services) {
	//services updated. filter the information to a specific service
	let examples = services.filter("example-service");
	//now look through all the example-service services' information...
});
3.1.6

8 years ago

3.1.5

8 years ago

3.1.4

8 years ago

3.1.3

8 years ago

3.1.2

8 years ago

3.1.1

8 years ago

3.1.0

8 years ago

3.0.0

8 years ago

2.13.1

8 years ago

2.13.0

8 years ago

2.12.0

8 years ago

2.11.0

8 years ago

2.10.1

8 years ago

2.10.0

8 years ago

2.9.0

9 years ago

2.8.0

9 years ago

2.7.0

9 years ago

2.6.1

9 years ago

2.6.0

9 years ago

2.5.1

9 years ago

2.5.0

9 years ago

2.4.4

9 years ago

2.4.3

9 years ago

2.4.2

9 years ago

2.4.1

9 years ago

2.4.0

9 years ago

2.3.2

9 years ago

2.3.1

9 years ago

2.3.0

9 years ago

2.2.1

9 years ago

2.2.0

9 years ago

2.1.2

9 years ago

2.1.1

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.1.3

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago