Skip to content

kaola-fed/egg-console-agent

Repository files navigation

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

About

console-agent for Egg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published