refactor(aria2): extract monitor

This commit is contained in:
Noah Hsu
2022-06-22 15:16:13 +08:00
parent 72208e052a
commit a6df492fff
4 changed files with 162 additions and 108 deletions

View File

@ -8,7 +8,7 @@ import (
"time"
)
var Aria2TaskManager = task.NewTaskManager[string, OfflineDownload](3)
var TaskManager = task.NewTaskManager[string, interface{}](3)
var notify = NewNotify()
var client rpc.Client