UNPKG

cttpie

Version:

Simple Web App for CTT service wrapping

28 lines (22 loc) 535 B
const errors = require("../util/errors"); class Engine { static singleton() { if (this._engine) { return this._engine; } this._engine = new this(); return this._engine; } async init() { throw new errors.NotImplementedError(); } async destroy() { throw new errors.NotImplementedError(); } async track(req, res, next) { throw new errors.NotImplementedError(); } } module.exports = { Engine: Engine };