root-watcher code

This commit is contained in:
Adam Ierymenko 2017-04-04 12:39:14 -07:00
parent 33c3af752b
commit ff2b219abd
2 changed files with 19 additions and 0 deletions

14
root-watcher/package.json Normal file
View File

@ -0,0 +1,14 @@
{
"name": "zerotier-root-watcher",
"version": "1.0.0",
"description": "Simple background service to watch a cluster of roots and record peer info into a database",
"main": "zerotier-root-watcher.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "ZeroTier, Inc. <contact@zerotier.com>",
"license": "GPL-3.0",
"dependencies": {
"pg": "^6.1.5"
}
}

View File

@ -0,0 +1,5 @@
'use strict';
const pg = require('pg');
const zlib = require('zlib');