1.1.1 • Published 7 years ago
@maxdome/health-got v1.1.1
Provides check function for health performing HTTP requests.
Usage
app.get('/health', require('@maxdome/health').controller({
  example: require('@maxdome/health-got')('http://example.com/'),
}));Example response
{
  "example": {
    "method": "GET",
    "options": {
      "json": true
    },
    "status": "UP",
    "url": "http://example.com/"
  },
  "status": "UP"
}