init project

This commit is contained in:
2023-04-24 17:19:41 +08:00
parent 84729ebb66
commit cdb5a4f9cd
51 changed files with 3328 additions and 1 deletions

14
config/aliyun.go Normal file
View 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"`
}