mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-19 13:01:39 -07:00
.
This commit is contained in:
parent
a187d290f1
commit
c9fd8de007
2 changed files with 48 additions and 3 deletions
|
@ -3,5 +3,12 @@ var ZT1ControllerClient = require('./index.js').ZT1ControllerClient;
|
|||
var zt1c = new ZT1ControllerClient('http://127.0.0.1:9993/','5d6181b71fae2684f9cc64ed');
|
||||
|
||||
zt1c.status(function(err,status) {
|
||||
if (err)
|
||||
console.log(err);
|
||||
console.log(status);
|
||||
});
|
||||
zt1c.listNetworks(function(err,networks) {
|
||||
if (err)
|
||||
console.log(err);
|
||||
console.log(networks);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue