Skip to content

xiaoemoxiw/egg-aliyun-api-gateway

Repository files navigation

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

About

EGG阿里云api网关

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published