Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
thin layer on top of dnode for controlling node.js servers
JavaScript PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
node_modules
.DS_Store
.gitignore
README-old.md
README.md
makefile
package.json

README.md

Shepard is a utility for communicating between instances.

Features

  • SSH for communicating between instances
  • uses DNode for communication

Server example

var server = require("shepard").server({
  client: {
    port: 8091
  },
  clients: require("awsm")(awsConfig).ec2.instances
}),
aws = require("awsm")(awsConfig);

server.scope.on("helloServer", function () {
  console.log("hello server!");
});

Client Example

var client = require("shepard").client();

client.scope.on("helloClient", function () {
  client.server.emit("helloServer");
});

client.listen(8091);
Something went wrong with that request. Please try again.