carotte-loader
v1.0.3
Published
Load and bind automatically your functions on your AMQP broker using `carotte`
Downloads
2
Keywords
Readme
carotte-loader
Load and bind automatically your functions on your AMQP broker using carotte
file structure
service-invoicing/
├── src/
| ├── controllers/
| | ├── controller.payment-methods.create/
| | | ├── index.js
| | | └── spec.js
| | ├── controller.payment-methods.delete/
| | | └── ...
| | ├── controller.payment-methods.update/
| | | └── ...
| | ├── controller.invoices.list/
| | | └── ...
| | ├── controller.invoices.read/
| | | └── ...
| | └── ...
| ├── lambdas/
| | ├── payment-methods.collect/
| | | ├── index.js
| | | └── spec.js
| | ├── payment-methods.refund/
| | | └── ...
| | └── payer.create/
| | └── ...
| ├─── listeners/
| | ├── user.created
| | | ├── index.js
| | | └── spec.js
| | ├── user.deleted
| | | └── ...
| | └── ...
usage
const carotte = require('carotte')({});
require('carotte-loader')(carotte);