egg-rabbit

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i egg-rabbit

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

13.1 kB

Total Files

8

Last publish

Collaborators

  • mmdapl