Add tencent_cloud_cos.go

This commit is contained in:
Gucheng Wang
2021-12-03 15:12:16 +08:00
parent cc2797ed27
commit d2565e03c8
5 changed files with 42 additions and 3 deletions

View File

@ -23,7 +23,9 @@ func GetStorageProvider(providerType string, clientId string, clientSecret strin
case "AWS S3":
return NewAwsS3StorageProvider(clientId, clientSecret, region, bucket, endpoint)
case "Aliyun OSS":
return NewAliyunStorageProvider(clientId, clientSecret, region, bucket, endpoint)
return NewAliyunOssStorageProvider(clientId, clientSecret, region, bucket, endpoint)
case "Tencent Cloud COS":
return NewTencentCloudCosStorageProvider(clientId, clientSecret, region, bucket, endpoint)
}
return nil