feature: 集成华为云obs 对象存储
This commit is contained in:
10
server/config/oss_aliyun.go
Normal file
10
server/config/oss_aliyun.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package config
|
||||
|
||||
type AliyunOSS struct {
|
||||
Endpoint string `mapstructure:"endpoint" json:"endpoint" yaml:"endpoint"`
|
||||
AccessKeyId string `mapstructure:"access-key-id" json:"accessKeyId" yaml:"access-key-id"`
|
||||
AccessKeySecret string `mapstructure:"access-key-secret" json:"accessKeySecret" yaml:"access-key-secret"`
|
||||
BucketName string `mapstructure:"bucket-name" json:"bucketName" yaml:"bucket-name"`
|
||||
BucketUrl string `mapstructure:"bucket-url" json:"bucketUrl" yaml:"bucket-url"`
|
||||
BasePath string `mapstructure:"base-path" json:"basePath" yaml:"base-path"`
|
||||
}
|
Reference in New Issue
Block a user