Add Stubby

This commit is contained in:
Steffen Lange 2020-02-07 14:05:45 +01:00
parent 29511ae56d
commit ce66886675

14
modules/Stubby.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Stubby extends PatchBase {
function __construct() {
parent::__construct('NLnet Labs', 'Stubby', 'https://dnsprivacy.org/wiki/x/JYAT');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/getdnsapi/stubby/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>