1.1.1 • Published 3 years ago

egg-alicloud-mns v1.1.1

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

egg-alicloud-mns

NPM version

Read this in other languages: 简体中文

Install

$ npm i egg-alicloud-mns --save

Alicloud MNS Plugin for egg, support egg application access to Aliyun MNS.

This plugin is based on mns-nodejs-sdk, please check the document of mns-nodejs-sdk for API details.

Usage

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

Configuration

// {app_root}/config/config.default.js
exports.alicloudMns = {
  client: {
    accountId: '',
    accessKeyId: '',
    secretAccessKey: '',
    region: '', // e.g. 'cn-hangzhou',
    secure: true, // use https or http
    internal: false, // use internal endpoint
    vpc: false, // use vpc endpoint
  },
};

See config/config.default.js for more details.

Questions & Suggestions

Please open an issue here.

License

MIT

1.1.1

3 years ago

1.1.0

3 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago