mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-28 00:04:13 +08:00
14 lines
238 B
Go
14 lines
238 B
Go
package bootstrap
|
|
|
|
import (
|
|
"github.com/alist-org/alist/v3/internal/aria2"
|
|
log "github.com/sirupsen/logrus"
|
|
)
|
|
|
|
func InitAria2() {
|
|
go func() {
|
|
_, err := aria2.InitClient(2)
|
|
log.Errorf("failed to init aria2 client: %+v", err)
|
|
}()
|
|
}
|