health-server

2019-11-10 admin

health-server是什么

什么是health-server,a standalone http health check endpoint

health-server使用教程帮助文档

health-server

Build Status

NPM

starts an http server that returns statusCode: 200 and json server info at GET /health

ideal for projects that don’t already run a web server but needs a health check for CI or uptime checks

you can add GET /health to an existing server with health-route

install

npm install health-server

test

npm test

usage

see test.js

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-78919.html

文章标题:health-server

回到顶部