mirror of
https://github.com/AlistGo/alist.git
synced 2025-11-25 03:15:10 +08:00
16 lines
274 B
Go
16 lines
274 B
Go
|
|
package bootstrap
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/alist-org/alist/v3/internal/qbittorrent"
|
||
|
|
"github.com/alist-org/alist/v3/pkg/utils"
|
||
|
|
)
|
||
|
|
|
||
|
|
func InitQbittorrent() {
|
||
|
|
go func() {
|
||
|
|
err := qbittorrent.InitClient()
|
||
|
|
if err != nil {
|
||
|
|
utils.Log.Infof("qbittorrent not ready.")
|
||
|
|
}
|
||
|
|
}()
|
||
|
|
}
|