feat: auto create torrent task for http download (#334)

This commit is contained in:
Levi authored and GitHub committed 2024-01-18 18:38:44 +08:00
1 parent e548d7e0c9
commit 74beea6044
5 files changed
+42 -11

No files matched your search

+2
View File
@@ -8,6 +8,8 @@ type ReqExtra struct {
type OptsExtra struct {
Connections int `json:"connections"`
// AutoTorrent when task download complete, and it is a .torrent file, it will be auto create a new task for the torrent file
AutoTorrent bool `json:"autoTorrent"`
}
// Stats for download