Feat: download file / speed limit in oss policy

This commit is contained in:
HFO4
2020-01-16 14:28:35 +08:00
parent dd198becce
commit 286f76cbec
2 changed files with 50 additions and 1 deletions

View File

@ -135,6 +135,7 @@ func NewAnonymousFileSystem() (*FileSystem, error) {
}
// dispatchHandler 根据存储策略分配文件适配器
// TODO 完善测试
func (fs *FileSystem) dispatchHandler() error {
var policyType string
var currentPolicy *model.Policy