ot-hapi-health
Health plugin for Hapi
Overview
Defines /health
endpoint:
GET /health
Host: yourhost.com
HTTP/1.1 200 OK
content-type: text/html; charset=utf-8
cache-control: no-cache
☃
Usage
$ npm i ot-hapi-health --save
var server = new Server;server; server;
Release History
- v1.0.1 (2016-11-18)
- added optional
isHealthy
validator to establish app readiness
- added optional
- v1.0.0 (2015-08-03)
- initial release