UNPKG

blackbox_server

Version:

service for quickly creating server applications

22 lines (21 loc) 566 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class StatusAppInfo { constructor() { this.DB_IS_CONNECTED = false; this.RABBIT_IS_CONNECTED = false; } set connectedDB(isConnected) { this.DB_IS_CONNECTED = isConnected; } set connectedRabbit(isConnected) { this.RABBIT_IS_CONNECTED = isConnected; } get connectedDB() { return this.DB_IS_CONNECTED; } get connectedRabbit() { return this.RABBIT_IS_CONNECTED; } } exports.default = new StatusAppInfo();