mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-16 23:26:25 +08:00
14 lines
235 B
Go
14 lines
235 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)
|
|
}()
|
|
}
|