mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-19 14:53:44 +00:00
temp
This commit is contained in:
1 parent
bdce3c84a3
commit
74d0e8e0bc
6 files changed
+102
-73
No files matched your search
@@ -26,6 +26,9 @@ func TestDownloader_Create(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
downloader.Listener(func(taskInfo *TaskInfo, status base.Status) {
|
||||
fmt.Printf("task:%s,status %d\n", taskInfo.ID, status)
|
||||
})
|
||||
err = downloader.Create(res, &base.Options{
|
||||
Path: "E:\\test\\gopeed\\http",
|
||||
Connections: 4,
|
||||
|
||||
Reference in new issue
Block a user