0.2.0 • Published 10 years ago

nonstop-registry-resource v0.2.0

Weekly downloads
13
License
MIT
Repository
github
Last release
10 years ago

nonstop registry resource

This module can be used to provide the nonstop service hosts with a regsitration hypermedia API to any autohost server that's using hyped.

Why?

The service hosts register themselves and push status on an interval to provide a centralized source of information about what hosts are up and what package they're running.

Using with Autohost

NPM install this module to your project

npm install nonstop-registry-resource hyped -S

Add the module to the modules property in your autohost init:

var hyped = require( 'hyped' );
var host = require( 'autohost' );

host.init( {
		port: 8888,
		noOptions: true,
		urlStrategy: hyped.urlStrategy,
		modules: [ 'nonstop-registry-resource' ]
	} )
	.then( hyped.addResources );
hyped.setupMiddleware( host );
0.2.0

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.0

10 years ago