Bladeren bron

root-watcher code

Adam Ierymenko 8 jaren geleden
bovenliggende
commit
ff2b219abd
2 gewijzigde bestanden met toevoegingen van 19 en 0 verwijderingen
  1. 14 0
      root-watcher/package.json
  2. 5 0
      root-watcher/zerotier-root-watcher.js

+ 14 - 0
root-watcher/package.json

@@ -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. <[email protected]>",
+  "license": "GPL-3.0",
+  "dependencies": {
+    "pg": "^6.1.5"
+  }
+}

+ 5 - 0
root-watcher/zerotier-root-watcher.js

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