egg-console-agent

0.1.0 • Public • Published

egg-console-agent

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

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.

License

MIT

/egg-console-agent/

    Package Sidebar

    Install

    npm i egg-console-agent

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    7.28 kB

    Total Files

    8

    Last publish

    Collaborators

    • junesmith