servers

1.0.8 • Public • Published

Servers

A service server registry of sort.

NPM

Build Status Dependencies Status

Install

npm install -g servers

Usage

servers-master

Starts a registry server to store request from other clients and to inform others on the location of other servers

Options Description
port port the server listens to for request
key Authentication key to use
servers-master --port 9999 --key test

servers-client

Submits a registry entry into the registry server or get the registry entry from the server

Options Description
port port of the listening server
key Authentication key to use
host host address of the server
name name of this client server, by default will try to obtain hostname of machine
mode mode of this command - set will update the servers list - get will fetch the latest server list stored
server-client --port 9999 --key test --host http://localhost --name devServer --mode set
server-client --port 9999 --key test --host http://localhost --name devServer --mode get

Readme

Keywords

none

Package Sidebar

Install

npm i servers

Weekly Downloads

8

Version

1.0.8

License

ISC

Last publish

Collaborators

  • ivan-loh