Simple round robin module for argo.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
README.md
index.js
package.json

README.md

Argo round robin module

Simple argo round robin module. For use in my simple projects.

###Usage

var argo = require('argo');
var roundrobin = require('argo-roundrobin');

var endpoints = ['http://foo.com', 'http://bar.com', 'http://baz.com'];
argo()
  .use(roundrobin(endpoints))
  .listejn(3000);