MCPcopy Create free account

hub / github.com/HsukqiLee/MediaUnlockTest / functions

Functions330 in github.com/HsukqiLee/MediaUnlockTest

↓ 210 callersMethodClose
()
pkg/core/client.go:266
↓ 155 callersFunctionGET
GET performs a GET request with realistic default headers
pkg/core/client.go:184
↓ 30 callersFunctionPostJson
(c HttpClient, url string, data string, headers ...H)
pkg/core/client.go:225
↓ 28 callersFunctionIsWAFBlockError
IsWAFBlockError checks if the network error is caused by a WAF drop/timeout
pkg/core/client.go:234
↓ 26 callersFunctionResultFromMapping
ResultFromMapping 根据 statusCode 从映射获得 Result,缺省返回 defaultRes[0] 或 StatusUnexpected
pkg/core/result.go:31
↓ 16 callersFunctionCheckGETStatus
CheckGETStatus 使用 GET 请求,并通过 ResultMap 返回对应 Result,支持默认 Result 及可选 headers
pkg/core/result.go:39
↓ 15 callersFunctionLogInfo
(format string, v ...any)
pkg/core/logger.go:73
↓ 12 callersMethodexecuteList
(tests []mt.TestItem)
monitor/check.go:121
↓ 11 callersFunctionh
(tag, cls, content)
homepage/app.js:70
↓ 10 callersFunctionPostForm
(c HttpClient, url string, data string, headers ...H)
pkg/core/client.go:229
↓ 9 callersFunctionGetCloudflareTraceLoc
(c HttpClient, url string, headers ...H)
pkg/core/utils.go:73
↓ 7 callersFunctiondoRequest
(c HttpClient, method, url string, reqType string, body string, useRealisticHeaders bool, timeout int, headers
pkg/core/client.go:96
↓ 7 callersFunctionsecureRandInt
(max int)
pkg/core/utils.go:46
↓ 4 callersFunctionGetDetailedIPInfo
(url string, ipType int)
pkg/core/ipinfo.go:24
↓ 4 callersFunctionGetIPInfo
(url string, ipType int, formatType string)
pkg/core/ipinfo.go:85
↓ 4 callersFunctionLogDebug
(format string, v ...any)
pkg/core/logger.go:67
↓ 4 callersFunctionMD5Sum
(text string)
pkg/core/utils.go:32
↓ 4 callersFunctionbuildClientOptions
(disableIPv4, disableIPv6 bool)
pkg/core/client.go:34
↓ 3 callersFunctionCheckUpdate
CheckUpdate checks and applies an update based on the provided configuration. Returns true if an update was successfully applied.
pkg/core/updater.go:80
↓ 3 callersFunctionExecuteTests
(regions []regionItem, client core.HttpClient, ipType int)
cli/execute.go:223
↓ 3 callersFunctionExecuteTestsParallel
ExecuteTestsParallel 并行执行所有测试(不按地区分组)
cli/execute.go:13
↓ 3 callersFunctionGETRaw
GETRaw performs a GET request WITHOUT injecting realistic default headers
pkg/core/client.go:189
↓ 3 callersFunctionGETWithTimeout
(c HttpClient, url string, timeout int, headers ...H)
pkg/core/client.go:251
↓ 3 callersFunctionGET_Dalvik
(c HttpClient, url string)
pkg/core/client.go:198
↓ 3 callersFunctionGenUUID
()
pkg/core/utils.go:14
↓ 3 callersFunctionLogError
(format string, v ...any)
pkg/core/logger.go:85
↓ 3 callersFunctionNewHttpClient
(ipType int)
pkg/core/client.go:82
↓ 3 callersFunctionShowSingleResult
(r core.Result)
cli/ui.go:19
↓ 3 callersFunctionfetch
(request, env)
homepage/_worker.js:2
↓ 3 callersFunctionrenderOSCommands
(container, cmdKey)
homepage/app.js:188
↓ 3 callersFunctionserviceExists
(s service.Service)
monitor/service.go:9
↓ 3 callersFunctionstopProgressUpdater
()
cli/ui.go:258
↓ 3 callersFunctionvalidateServiceExists
(s service.Service, action string)
monitor/service.go:19
↓ 2 callersFunctionCountryCodeToAlpha2
(code string)
pkg/core/country.go:294
↓ 2 callersFunctionGetRealisticHeaders
(requestType string)
pkg/core/headers.go:36
↓ 2 callersMethodRead
(p []byte)
pkg/core/updater.go:51
↓ 2 callersFunctionRequestRaw
RequestRaw performs a generic request WITHOUT injecting realistic default headers
pkg/core/client.go:194
↓ 2 callersFunctionResetSessionHeaders
()
pkg/core/headers.go:109
↓ 2 callersMethodStop
(s service.Service)
monitor/main.go:75
↓ 2 callersMethodWrite
(p []byte)
pkg/core/updater.go:74
↓ 2 callersFunctioncheckUpdate
checkUpdate is called both by the foreground CLI (`monitor -u`) and the background AutoUpdate goroutine.
monitor/update.go:11
↓ 2 callersFunctioncommandBlock
(cmd)
homepage/app.js:172
↓ 2 callersFunctionfindAirCode
(code string)
pkg/providers/YouTube.go:80
↓ 2 callersFunctiongetRandomAcceptLanguage
()
pkg/core/headers.go:25
↓ 2 callersFunctionnewProgressBar
(count int64, desc string)
cli/ui.go:127
↓ 2 callersFunctionprintReleaseNotes
(md string)
pkg/core/updater.go:247
↓ 2 callersFunctionrestartService
(s service.Service)
monitor/service.go:27
↓ 2 callersFunctionshowSnackbar
(msg)
homepage/app.js:115
↓ 2 callersFunctionstartProgressUpdater
新增:启动进度条更新协程
cli/ui.go:230
↓ 2 callersFunctionuninstallService
(s service.Service)
monitor/service.go:52
↓ 2 callersFunctionupdate
()
monitor/exporter.go:28
↓ 1 callersMethodAI
()
monitor/check.go:173
↓ 1 callersMethodAfrica
()
monitor/check.go:161
↓ 1 callersMethodCheck
()
monitor/check.go:45
↓ 1 callersFunctionCheckDalvikStatus
CheckDalvikStatus 使用 GET_Dalvik 请求,并通过 ResultMap 返回对应 Result,支持默认 Result
pkg/core/result.go:49
↓ 1 callersFunctionCheckStatusWithTimeout
(c HttpClient, url string, mapping ResultMap, defaultResult Result, timeout int)
pkg/core/result.go:110
↓ 1 callersFunctionDoWithRetry
(c HttpClient, req *http.Request)
pkg/core/client.go:204
↓ 1 callersMethodEurope
()
monitor/check.go:157
↓ 1 callersMethodHongKong
()
monitor/check.go:133
↓ 1 callersFunctionInitClients
()
pkg/core/client.go:64
↓ 1 callersFunctionInitLogger
(level string, logFile string)
pkg/core/logger.go:46
↓ 1 callersMethodJapan
()
monitor/check.go:141
↓ 1 callersMethodKorea
()
monitor/check.go:145
↓ 1 callersMethodMultination
()
monitor/check.go:129
↓ 1 callersFunctionNewTest
()
monitor/check.go:33
↓ 1 callersMethodNorthAmerica
()
monitor/check.go:149
↓ 1 callersMethodOceania
()
monitor/check.go:169
↓ 1 callersFunctionPostFormBoolSuccess
(c HttpClient, url, data string, headers ...H)
pkg/core/result.go:61
↓ 1 callersFunctionPostJsonWithTimeout
(c HttpClient, url string, data string, timeout int, headers ...H)
pkg/core/client.go:256
↓ 1 callersFunctionReadSelect
()
cli/main.go:78
↓ 1 callersFunctionShowAD
()
cli/ui.go:283
↓ 1 callersFunctionShowCounts
()
cli/ui.go:267
↓ 1 callersFunctionShowFinalResult
()
cli/ui.go:89
↓ 1 callersMethodSouthAmerica
()
monitor/check.go:153
↓ 1 callersMethodSouthEastAsia
()
monitor/check.go:165
↓ 1 callersFunctionSupportApple
(loc string)
pkg/providers/Apple.go:10
↓ 1 callersFunctionSupportClaude
(loc string)
pkg/providers/Claude.go:9
↓ 1 callersFunctionSupportGPT
(loc string)
pkg/providers/ChatGPT.go:10
↓ 1 callersFunctionSupportGemini
(loc string)
pkg/providers/Gemini.go:11
↓ 1 callersFunctionSupportMistral
(loc string)
pkg/providers/Mistral.go:9
↓ 1 callersFunctionSupportNLZIET
(loc string)
pkg/providers/NLZIET.go:9
↓ 1 callersFunctionSupportPerplexity
(loc string)
pkg/providers/Perplexity.go:9
↓ 1 callersFunctionSupportPoe
(loc string)
pkg/providers/Poe.go:9
↓ 1 callersFunctionSupportSonyLiv
(loc string)
pkg/providers/SonyLiv.go:10
↓ 1 callersFunctionSupportStarPlus
(loc string)
pkg/providers/StarPlus.go:11
↓ 1 callersFunctionSupportX
(loc string)
pkg/providers/X.go:9
↓ 1 callersMethodTaiwan
()
monitor/check.go:137
↓ 1 callersFunctionThreeToTwoCode
(code string)
pkg/core/country.go:287
↓ 1 callersFunctionTwoToThreeCode
(code string)
pkg/core/country.go:280
↓ 1 callersFunctionaddRandomDelay
()
pkg/core/utils.go:66
↓ 1 callersFunctionbilibili
(c core.HttpClient, url string)
pkg/providers/BiliBili.go:10
↓ 1 callersFunctioncheckUpdate
(force bool)
cli/update.go:7
↓ 1 callersFunctioncheckUpdateOnly
()
cli/update.go:18
↓ 1 callersFunctioncopyText
(btn, text)
homepage/app.js:96
↓ 1 callersMethodexcute
(Name string, F func(client core.HttpClient) core.Result)
monitor/check.go:102
↓ 1 callersFunctionextractAMCPlusRegion
(url string)
pkg/providers/AMCPlus.go:8
↓ 1 callersFunctionextractBingRegion
(responseBody string)
pkg/providers/Bing.go:12
↓ 1 callersFunctionextractDisneyPlusRegion
(body string)
pkg/providers/DisneyPlus.go:11
↓ 1 callersFunctionextractDisneyPlusSupport
(body string)
pkg/providers/DisneyPlus.go:20
↓ 1 callersFunctionextractGeminiRegion
(body string)
pkg/providers/Gemini.go:41
next →1–100 of 330, ranked by callers