feat: add Synology NAS storage provider (#2605)

This commit is contained in:
xiao-kong-long
2024-01-14 22:38:31 +08:00
committed by GitHub
parent 53df2c2704
commit 48ba5f91ed
6 changed files with 43 additions and 3 deletions

View File

@ -34,6 +34,8 @@ func GetStorageProvider(providerType string, clientId string, clientSecret strin
return NewQiniuCloudKodoStorageProvider(clientId, clientSecret, region, bucket, endpoint)
case "Google Cloud Storage":
return NewGoogleCloudStorageProvider(clientSecret, bucket, endpoint)
case "Synology":
return NewSynologyNasStorageProvider(clientId, clientSecret, endpoint)
}
return nil