var healthCheckSystem = require('health-check-system');
var configuration = {
redis: [
{
host: '127.0.0.1'
port: 6379
}
]
};
healthCheckSystem.do(configuration)
.then(function (result){
console.log(result)
})
.catch(function (error){
console.log(error)
})
{
"redis": [
// For object format visit (https://github.com/LucasRodrigues/health-check-redis)
],
"mongodb": [
// For object format visit (https://github.com/LucasRodrigues/health-check-mongodb)
],
"elasticSearch": [
// For object format visit (https://github.com/LucasRodrigues/health-check-elastic-search)
],
"mssql": [
// For object format visit (https://github.com/LucasRodrigues/health-check-mssql)
],
"mysql": [
// For object format visit (https://github.com/LucasRodrigues/health-check-mysql)
],
"rabbitMq": [
// For object format visit (https://github.com/LucasRodrigues/health-check-rabbitmq)
],
"api": [
// For object format visit (https://github.com/LucasRodrigues/health-check-api)
]
}