Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.23 KB

DefaultHealthcheck.md

File metadata and controls

29 lines (19 loc) · 1.23 KB

utils/defaultHealthcheck~DefaultHealthcheck

Kind: inner class of module:utils/defaultHealthcheck

new DefaultHealthcheck(serviceName)

Param Type Description
serviceName string The name/key of the service.

defaultHealthcheck.fn(req, cb)

the Request handler.

Kind: instance method of DefaultHealthcheck

Param Type Description
req obj
cb fn a node style callback(err, results) to send data when job is finished