MCPcopy Create free account
hub / github.com/V2RaySSR/RealityChecker / NewDownloader

Function NewDownloader

internal/data/downloader.go:26–32  ·  view source on GitHub ↗

NewDownloader 创建下载器

()

Source from the content-addressed store, hash-verified

24
25// NewDownloader 创建下载器
26func NewDownloader() *Downloader {
27 return &Downloader{
28 timeout: 30 * time.Second,
29 retries: 3,
30 retryDelay: 2 * time.Second,
31 }
32}
33
34// printTimestampedMessage 打印带时间戳的消息
35func printTimestampedMessage(format string, args ...interface{}) {

Callers 1

mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected