A web application allowing people to create an account, configure a profile, and share a list of URLs on that profile.
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.
 
 
 
 

30 lines
682 B

// site-service.js
// Copyright (C) 2021 Digital Telepresence, LLC
// License: Apache-2.0
'use strict';
const path = require('path');
const { SiteCommon } = require(path.join(__dirname, 'site-common'));
const { SiteLog } = require(path.join(__dirname, 'site-log'));
class SiteService extends SiteCommon {
constructor (dtp, definition) {
super(dtp);
this.slug = definition.slug;
this.name = definition.name;
this.log = new SiteLog(dtp, `svc:${this.slug}`);
}
async start ( ) {
this.log.debug(`starting ${this.name} service`);
}
async stop ( ) {
this.log.debug(`stopping ${this.name} service`);
}
}
module.exports.SiteService = SiteService;