HTTPS Monitor using Real Browsers + Limited plugin support (#1787)

This commit is contained in:
Louis Lam
2023-01-27 18:25:57 +08:00
committed by GitHub
parent d99d37898e
commit e5ca67d062
16 changed files with 616 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
class MonitorType {
name = undefined;
/**
*
* @param {Monitor} monitor
* @param {Heartbeat} heartbeat
* @returns {Promise<void>}
*/
async check(monitor, heartbeat) {
throw new Error("You need to override check()");
}
}
module.exports = {
MonitorType,
};