1.0.2 • Published 3 years ago

egg-moleculer v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

egg-moleculer

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

Install

$ npm i egg-moleculer --save

Usage

// {app_root}/config/plugin.js
exports.moleculer = {
  enable: true,
  package: 'egg-moleculer',
};

Configuration

// {app_root}/config/config.default.js
exports.moleculer = {
    client: {
      host: '127.0.0.1',
      port: 5672,
      username: 'admin',
      password: 'admin',
      namespace: '',
      nodeID: null,
    },
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT