Add CoreDNS

This commit is contained in:
Steffen Lange 2020-03-28 14:42:42 +01:00
parent d69f14c4a5
commit daab33a675

14
modules/CoreDNS.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class CoreDNS extends PatchBase {
function __construct() {
parent::__construct('Miek Gieben', 'CoreDNS', 'https://coredns.io/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/coredns/coredns/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>