Update templates
This commit is contained in:
parent
fc2ce11a39
commit
00e125c042
8 changed files with 3 additions and 116 deletions
|
@ -24,34 +24,8 @@
|
|||
*/
|
||||
const rfr = require('rfr');
|
||||
|
||||
const Configuration = rfr('src/services/srcds/main.json');
|
||||
const Core = rfr('src/services/index.js');
|
||||
|
||||
class Service extends Core {
|
||||
constructor(server) {
|
||||
super(server, Configuration);
|
||||
}
|
||||
|
||||
onPreflight(next) {
|
||||
return super.onPreflight(next);
|
||||
}
|
||||
|
||||
onStart(next) {
|
||||
return super.onStart(next);
|
||||
}
|
||||
|
||||
onConsole(data) {
|
||||
return super.onConsole(data);
|
||||
}
|
||||
|
||||
onStop(next) {
|
||||
return super.onStop(next);
|
||||
}
|
||||
|
||||
doQuery(next) {
|
||||
return super.doQuery(next);
|
||||
}
|
||||
|
||||
}
|
||||
class Service extends Core {}
|
||||
|
||||
module.exports = Service;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue