egg-cos
v1.0.2
Published
tencent cloud cos plugin for egg
Downloads
6
Readme
egg-cos
Install
$ npm i egg-cos --save
Usage
// {app_root}/config/plugin.js
exports.cos = {
enable: true,
package: 'egg-cos',
};
Configuration
// {app_root}/config/config.default.js
exports.cos = {
client: {
secretId: '',
secretKey: '',
bucket: '',
region: '',
}
};
Init in egg agent, default is false
:
exports.cos = {
useAgent: true,
};
Questions & Suggestions
Please open an issue here.