【文件属性】:
文件名称:node-slb:阿里云有限公司
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-24 21:44:45
JavaScript
node-slb
an expressjs middleware for aliyun slb
缘起
2)请问健康检查发的什么请求? head 还是 get?
head请求。
安装
npm install --save node-slb
用法
var slb = require('node-slb');
var app = express();
app.user(slb);
测试
首先启动demo的服务
➜ node-slb git:(master) ✗ npm start
> node-slb@1.0.0 start /Users/sang/workspace/github/node-slb
> cd demo && npm install && npm start
> url@0.0.0 start /Users/sang/workspace/github/node-slb/demo
【文件预览】:
node-slb-master
----.gitignore(545B)
----package.json(564B)
----LICENSE(1KB)
----index.js(340B)
----README.md(3KB)
----demo()
--------app.js(1KB)
--------package.json(331B)
--------bin()
--------public()
--------views()
--------head.js(304B)
--------routes()
----.npmignore(4B)