✨ init project
This commit is contained in:
14
config/aliyun.go
Normal file
14
config/aliyun.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package config
|
||||
|
||||
// 阿里云配置
|
||||
type aliyunConfig struct {
|
||||
Oss aliOssConfig `mapstructure:"oss" yaml:"oss"` // oss配置
|
||||
}
|
||||
|
||||
// OSSConfig 阿里云OSS配置
|
||||
type aliOssConfig struct {
|
||||
Endpoint string `mapstructure:"endpoint" yaml:"endpoint"`
|
||||
Bucket string `mapstructure:"bucket" yaml:"bucket"`
|
||||
AccessKeyId string `mapstructure:"access-key" yaml:"access-key"`
|
||||
AccessKeySecret string `mapstructure:"access-key-secret" yaml:"access-key-secret"`
|
||||
}
|
Reference in New Issue
Block a user