Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 884 Bytes

README.md

File metadata and controls

56 lines (38 loc) · 884 Bytes

egg-aliyun-api-gateway

Install

use npm
$ npm i egg-aliyun-api-gateway-full --save
use yarn
$ yarn add egg-aliyun-api-gateway-full

Usage

// {app_root}/config/plugin.js
exports.aliyunApiGateway = {
  enable: true,
  package: 'egg-aliyun-api-gateway',
};

Configuration

// {app_root}/config/config.default.js
exports.aliyunApiGateway = {
    appKey: 'your appKey',
    appSecret: 'your appSecret',
    stage : 'RELEASE', //default 'RELEASE'
    verbose : true     // default true, true means return result with request and response。
};

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT