micro-panda-gateway-http
v0.2.1
Published
Simple http gateway for micro panda services.
Downloads
5
Readme
HTTP Gateway
Simple http gateway for micro panda services.
API
buildService
params
- broker
- [allow] - func(req) => result - check if this http request is allowed
- req - node.js http incomingmessage
- result - boolean - if false, return 403
- [prefix] - default to ''
- [logger] - default to logger
returns
- service - a http.Server instance