1.0.0 • Published 6 years ago
egg-rabbit v1.0.0
egg-rabbit
Install
$ npm i egg-rabbit --saveUsage
// {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
1.0.0
6 years ago