feature: 集成华为云obs 对象存储

This commit is contained in:
SliverHorn
2021-11-29 21:56:01 +08:00
parent 2b9365da17
commit 6a9a159642
14 changed files with 161 additions and 50 deletions

View File

@@ -0,0 +1,9 @@
package config
type HuaWeiObs struct {
Path string `mapstructure:"path" json:"path" yaml:"path"`
Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket"`
Endpoint string `mapstructure:"endpoint" json:"endpoint" yaml:"endpoint"`
AccessKey string `mapstructure:"access-key" json:"accessKey" yaml:"access-key"`
SecretKey string `mapstructure:"secret-key" json:"secretKey" yaml:"secret-key"`
}