Add GoDNS

This commit is contained in:
Steffen Lange 2023-04-23 21:52:38 +02:00
parent 24406ec32b
commit bcd01610e9

14
modules/GoDNS.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class GoDNS extends PatchBase {
function __construct() {
parent::__construct('Timothy Ye', 'GoDNS', 'https://github.com/TimothyYe/godns');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/TimothyYe/godns/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>