1.0.0 • Published 4 years ago

egg-rabbit v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

egg-rabbit

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-rabbit --save

Usage

// {app_root}/config/plugin.js
exports.rabbit = {
  enable: true,
  package: 'egg-rabbit',
};

Configuration

  • default client config
// {app_root}/config/config.default.js
exports.rabbit = {
};
  • only one rabbitMQ client
// {app_root}/config/config.default.js
exports.rabbit = {
};
  • more rabbitMQ clients
// {app_root}/config/config.default.js
exports.rabbit = {
};
  • other optional configuration
// {app_root}/config/config.default.js
exports.rabbit = {
};

see config/config.default.js for more detail. 注意:

Example

Questions & Suggestions

Please open an issue here.

License

MIT