1.0.4 • Published 6 years ago

@dnode/health-got v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

dependencies | 1 | 44

Provides check function for health performing HTTP requests.

Usage

require('@dnode/controllers')(
  app,
  [
    require('@dnode/health').controller({
      example: require('@dnode/health-got')('http://example.com/'),
    }),
  ]
);

Example response

{
   "outcome": "UP",
   "checks": [
      {
         "name": "example",
         "state": "UP",
         "data": {
            "method": "GET",
            "url": "http://example.com/"
         }
      }
   ]
}
1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago