【文件属性】:
文件名称:gateway:baiji应用程序的网关
文件大小:25KB
文件格式:ZIP
更新时间:2024-05-29 14:41:34
JavaScript
百济门户
积极发展中
应用程序的网关
安装
运行npm install baiji-gateway --save进行安装。
用法
// Options:
// allowedAPIs: Whitelist api list
// forbiddenAPIs: Blacklist api list
// max: Maximum api requests at the same time
// onError(err, ctx, next): Error handler
// name: Gateway method name, default is `__gateway__`
// path: Gateway api path, default is `gateway`
// verb: Gateway http method, default is `post
【文件预览】:
gateway-master
----.gitignore(884B)
----package.json(694B)
----package-lock.json(91KB)
----LICENSE(1KB)
----index.js(9KB)
----examples()
--------index.js(1KB)
----README.md(895B)