servstat
Monitor the status (offline/online) of selected services
Get the response of the services while you're working on them.
example usage:
var Servstat = Servstat; var config_online = service: "http://www.google.com" debug: false ;var config_offline = service: "http://www.not_online.com" debug: true ;var servstat_online = config_online;var servstat_offline = config_offline; servstat_onlineisAlive = servstat_offline { // console.log("is alive, just got resp, %s", reason);}; servstat_onlineisDead = servstat_offline { // console.log("seems to be dead .., %s", reason);}; //stop after 10seconds;
generate docs
grunt