Skip to content
forked from romoo/egg-cos

tencent cloud cos plugin for egg

License

Notifications You must be signed in to change notification settings

Hwangkop/egg-cos

 
 

Repository files navigation

egg-cos

NPM version build status Test coverage David deps Known Vulnerabilities npm download

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.

License

MIT

About

tencent cloud cos plugin for egg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%