Categorygithub.com/apache/answer-plugins/storage-aliyunoss
modulepackage
1.2.10
Repository: https://github.com/apache/answer-plugins.git
Documentation: pkg.go.dev

# README

Aliyun OSS Storage (preview)

This plugin can be used to store attachments and avatars to Aliyun OSS.

How to use

Build

./answer build --with github.com/apache/answer-plugins/storage-aliyunoss

Configuration

  • Endpoint - Endpoint of AliCloud OSS storage, such as oss-cn-hangzhou.aliyuncs.com
  • Bucket Name - Your bucket name
  • Object Key Prefix - Prefix of the object key like 'answer/data/' that ending with '/'
  • Access Key Id - AccessKeyID of the AliCloud OSS storage
  • Access Key Secret - AccessKeySecret of the AliCloud OSS storage
  • Visit Url Prefix - Prefix of access address for the uploaded file, ending with '/' such as https://example.com/xxx/
  • Max File Size - Max file size in MB, default is 10MB

# Packages

No description provided by the author

# Variables

go:embed info.yaml.

# Structs

No description provided by the author
No description provided by the author