egg-outer-platform-sdk
v0.0.2
Published
[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][codecov-image]][codecov-url] [![David deps][david-image]][david-url] [![Known Vulnerabilities][snyk-image]][snyk-url] [![npm download][download-image]][down
Downloads
6
Readme
egg-outer-platform-sdk
Install
$ npm i egg-outer-platform-sdk --save
Usage
// {app_root}/config/plugin.js
exports.outerPlatformSdk = {
enable: true,
package: 'egg-outer-platform-sdk',
};
Configuration
// {app_root}/config/config.default.js
exports.outerPlatformSdk = {
logCenter: {
enable: true,
rocketmqServer: 'x.x.x.x:9876',
producerGroup: 'your_producer_group',
topic: 'your_topic',
moduleName: 'your_module_name',
},
};
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.