Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alist-org
GitHub Repository: alist-org/alist
Path: blob/main/internal/bootstrap/offline_download.go
1560 views
1
package bootstrap
2
3
import (
4
"github.com/alist-org/alist/v3/internal/offline_download/tool"
5
"github.com/alist-org/alist/v3/pkg/utils"
6
)
7
8
func InitOfflineDownloadTools() {
9
for k, v := range tool.Tools {
10
res, err := v.Init()
11
if err != nil {
12
utils.Log.Warnf("init tool %s failed: %s", k, err)
13
} else {
14
utils.Log.Infof("init tool %s success: %s", k, res)
15
}
16
}
17
}
18
19