Sleds/K2Proxy/status.js

27 lines
525 B
JavaScript
Raw Permalink Normal View History

2025-03-13 21:28:38 +00:00
/*
Copyright (c) 2014 IOnU Security Inc. All rights reserved
Created June 2014 by Kendrick Webster
K2Proxy/status.js - application status
*/
"use strict";
function trace(m) { // comment or un-comment as needed for debugging:
console.log(m);
}
function trace_info(m) { // comment or un-comment as needed for debugging:
console.log(m);
}
var uptime = 0;
setInterval(function () {
uptime++;
}, 1000);
function get_uptime() {
return uptime;
}
exports.get_uptime = get_uptime;
exports.clients = 0;