egg-cos-promise
v1.0.6
Published
tencent cloud cos plugin for egg, support promise and async
Downloads
4
Readme
egg-cos-promise
Install
$ npm i egg-cos-promise --save
Usage
// {app_root}/config/plugin.js
exports.cos = {
enable: true,
package: 'egg-cos-promise',
};
Configuration
// {app_root}/config/config.default.js
config.cos = {
client: {
secretId: '',
secretKey: '',
region: '',
bucket: ''
}
};
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.