egg-console-agent
v0.1.0
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
5
Readme
egg-console-agent
Install
$ npm i egg-console-agent --save
Usage
// {app_root}/config/plugin.js
exports.consoleAgent = {
enable: true,
package: 'egg-console-agent',
};
Configuration
// {app_root}/config/config.default.js
exports.consoleAgent = {
server: 'console-kl.netease.com', // connection ws 地址
appid: void 0, // appid
secret: void 0, // secret
cluster: 'online', // 集群名(默认使用 app.config.env)
};
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.