add TencentCOS support to OSS

This commit is contained in:
MUHM
2021-02-22 16:37:00 +08:00
parent d278344dd4
commit 4b6eb80ddb
6 changed files with 83 additions and 1 deletions

View File

@@ -28,7 +28,9 @@ func NewOss() OSS {
return &Local{}
case "qiniu":
return &Qiniu{}
case "tencent-cos":
return &TencentCOS{}
default:
return &Local{}
}
}
}