@softvisio/core
Version:
Softisio core
23 lines (17 loc) • 469 B
JavaScript
import Healthcheck from "./healthcheck.js";
export default Super =>
class extends Super {
// protected
async _install () {
return new Healthcheck( this.app, this.config );
}
async _init () {
return this.instance.init();
}
async _afterAppStarted () {
return this.instance.start();
}
async _destroy () {
return this.instance.stop();
}
};