DTP Base provides a scalable and secure Node.js application development harness ready for production service.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
576 B

// site-service.js
// Copyright (C) 2022,2024 DTP Technologies, LLC
// All Rights Reserved
'use strict';
import { SiteCommon } from './site-common.js';
import { SiteLog } from './site-log.js';
export class SiteService extends SiteCommon {
constructor (dtp, definition) {
super(dtp, definition);
this.slug = definition.slug;
this.name = definition.name;
this.log = new SiteLog(dtp, definition);
}
async start ( ) {
this.log.debug(`starting ${this.name} service`);
}
async stop ( ) {
this.log.debug(`stopping ${this.name} service`);
}
}