Miss any of our Open RFC calls?Watch the recordings here! »

@godotdotdot/egg-minio

1.0.1 • Public • Published

Egg plugin for MinIO

Config

// {app_root}/config/plugin.js
  minio: {
    enable: true,
    package: '@godotdotdot/egg-minio',
  },
// {app_root}/config/config.ts
  config.minio = {
    client: {
      endPoint: 'osd.mete.work',
      accessKey: 'accessKey',
      secretKey: 'secretKey',
      useSSL: true,
      port: 443,
    },
  };

Usage

You can access MinIO object with this.app.minio.

Install

npm i @godotdotdot/egg-minio

DownloadsWeekly Downloads

3

Version

1.0.1

License

none

Unpacked Size

2.05 kB

Total Files

6

Last publish

Collaborators

  • avatar