feat(offline_download): add simple http tool (close #4002)
This commit is contained in:
@ -3,6 +3,7 @@ package aria2
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/alist-org/alist/v3/internal/errs"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
@ -21,6 +22,10 @@ type Aria2 struct {
|
||||
client rpc.Client
|
||||
}
|
||||
|
||||
func (a *Aria2) Run(task *tool.DownloadTask) error {
|
||||
return errs.NotSupport
|
||||
}
|
||||
|
||||
func (a *Aria2) Name() string {
|
||||
return "aria2"
|
||||
}
|
||||
|
Reference in New Issue
Block a user