Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HsukqiLee/MediaUnlockTest
/ functions
Functions
330 in github.com/HsukqiLee/MediaUnlockTest
⨍
Functions
330
◇
Types & classes
23
↓ 210 callers
Method
Close
()
pkg/core/client.go:266
↓ 155 callers
Function
GET
GET performs a GET request with realistic default headers
pkg/core/client.go:184
↓ 30 callers
Function
PostJson
(c HttpClient, url string, data string, headers ...H)
pkg/core/client.go:225
↓ 28 callers
Function
IsWAFBlockError
IsWAFBlockError checks if the network error is caused by a WAF drop/timeout
pkg/core/client.go:234
↓ 26 callers
Function
ResultFromMapping
ResultFromMapping 根据 statusCode 从映射获得 Result,缺省返回 defaultRes[0] 或 StatusUnexpected
pkg/core/result.go:31
↓ 16 callers
Function
CheckGETStatus
CheckGETStatus 使用 GET 请求,并通过 ResultMap 返回对应 Result,支持默认 Result 及可选 headers
pkg/core/result.go:39
↓ 15 callers
Function
LogInfo
(format string, v ...any)
pkg/core/logger.go:73
↓ 12 callers
Method
executeList
(tests []mt.TestItem)
monitor/check.go:121
↓ 11 callers
Function
h
(tag, cls, content)
homepage/app.js:70
↓ 10 callers
Function
PostForm
(c HttpClient, url string, data string, headers ...H)
pkg/core/client.go:229
↓ 9 callers
Function
GetCloudflareTraceLoc
(c HttpClient, url string, headers ...H)
pkg/core/utils.go:73
↓ 7 callers
Function
doRequest
(c HttpClient, method, url string, reqType string, body string, useRealisticHeaders bool, timeout int, headers
pkg/core/client.go:96
↓ 7 callers
Function
secureRandInt
(max int)
pkg/core/utils.go:46
↓ 4 callers
Function
GetDetailedIPInfo
(url string, ipType int)
pkg/core/ipinfo.go:24
↓ 4 callers
Function
GetIPInfo
(url string, ipType int, formatType string)
pkg/core/ipinfo.go:85
↓ 4 callers
Function
LogDebug
(format string, v ...any)
pkg/core/logger.go:67
↓ 4 callers
Function
MD5Sum
(text string)
pkg/core/utils.go:32
↓ 4 callers
Function
buildClientOptions
(disableIPv4, disableIPv6 bool)
pkg/core/client.go:34
↓ 3 callers
Function
CheckUpdate
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 callers
Function
ExecuteTests
(regions []regionItem, client core.HttpClient, ipType int)
cli/execute.go:223
↓ 3 callers
Function
ExecuteTestsParallel
ExecuteTestsParallel 并行执行所有测试(不按地区分组)
cli/execute.go:13
↓ 3 callers
Function
GETRaw
GETRaw performs a GET request WITHOUT injecting realistic default headers
pkg/core/client.go:189
↓ 3 callers
Function
GETWithTimeout
(c HttpClient, url string, timeout int, headers ...H)
pkg/core/client.go:251
↓ 3 callers
Function
GET_Dalvik
(c HttpClient, url string)
pkg/core/client.go:198
↓ 3 callers
Function
GenUUID
()
pkg/core/utils.go:14
↓ 3 callers
Function
LogError
(format string, v ...any)
pkg/core/logger.go:85
↓ 3 callers
Function
NewHttpClient
(ipType int)
pkg/core/client.go:82
↓ 3 callers
Function
ShowSingleResult
(r core.Result)
cli/ui.go:19
↓ 3 callers
Function
fetch
(request, env)
homepage/_worker.js:2
↓ 3 callers
Function
renderOSCommands
(container, cmdKey)
homepage/app.js:188
↓ 3 callers
Function
serviceExists
(s service.Service)
monitor/service.go:9
↓ 3 callers
Function
stopProgressUpdater
()
cli/ui.go:258
↓ 3 callers
Function
validateServiceExists
(s service.Service, action string)
monitor/service.go:19
↓ 2 callers
Function
CountryCodeToAlpha2
(code string)
pkg/core/country.go:294
↓ 2 callers
Function
GetRealisticHeaders
(requestType string)
pkg/core/headers.go:36
↓ 2 callers
Method
Read
(p []byte)
pkg/core/updater.go:51
↓ 2 callers
Function
RequestRaw
RequestRaw performs a generic request WITHOUT injecting realistic default headers
pkg/core/client.go:194
↓ 2 callers
Function
ResetSessionHeaders
()
pkg/core/headers.go:109
↓ 2 callers
Method
Stop
(s service.Service)
monitor/main.go:75
↓ 2 callers
Method
Write
(p []byte)
pkg/core/updater.go:74
↓ 2 callers
Function
checkUpdate
checkUpdate is called both by the foreground CLI (`monitor -u`) and the background AutoUpdate goroutine.
monitor/update.go:11
↓ 2 callers
Function
commandBlock
(cmd)
homepage/app.js:172
↓ 2 callers
Function
findAirCode
(code string)
pkg/providers/YouTube.go:80
↓ 2 callers
Function
getRandomAcceptLanguage
()
pkg/core/headers.go:25
↓ 2 callers
Function
newProgressBar
(count int64, desc string)
cli/ui.go:127
↓ 2 callers
Function
printReleaseNotes
(md string)
pkg/core/updater.go:247
↓ 2 callers
Function
restartService
(s service.Service)
monitor/service.go:27
↓ 2 callers
Function
showSnackbar
(msg)
homepage/app.js:115
↓ 2 callers
Function
startProgressUpdater
新增:启动进度条更新协程
cli/ui.go:230
↓ 2 callers
Function
uninstallService
(s service.Service)
monitor/service.go:52
↓ 2 callers
Function
update
()
monitor/exporter.go:28
↓ 1 callers
Method
AI
()
monitor/check.go:173
↓ 1 callers
Method
Africa
()
monitor/check.go:161
↓ 1 callers
Method
Check
()
monitor/check.go:45
↓ 1 callers
Function
CheckDalvikStatus
CheckDalvikStatus 使用 GET_Dalvik 请求,并通过 ResultMap 返回对应 Result,支持默认 Result
pkg/core/result.go:49
↓ 1 callers
Function
CheckStatusWithTimeout
(c HttpClient, url string, mapping ResultMap, defaultResult Result, timeout int)
pkg/core/result.go:110
↓ 1 callers
Function
DoWithRetry
(c HttpClient, req *http.Request)
pkg/core/client.go:204
↓ 1 callers
Method
Europe
()
monitor/check.go:157
↓ 1 callers
Method
HongKong
()
monitor/check.go:133
↓ 1 callers
Function
InitClients
()
pkg/core/client.go:64
↓ 1 callers
Function
InitLogger
(level string, logFile string)
pkg/core/logger.go:46
↓ 1 callers
Method
Japan
()
monitor/check.go:141
↓ 1 callers
Method
Korea
()
monitor/check.go:145
↓ 1 callers
Method
Multination
()
monitor/check.go:129
↓ 1 callers
Function
NewTest
()
monitor/check.go:33
↓ 1 callers
Method
NorthAmerica
()
monitor/check.go:149
↓ 1 callers
Method
Oceania
()
monitor/check.go:169
↓ 1 callers
Function
PostFormBoolSuccess
(c HttpClient, url, data string, headers ...H)
pkg/core/result.go:61
↓ 1 callers
Function
PostJsonWithTimeout
(c HttpClient, url string, data string, timeout int, headers ...H)
pkg/core/client.go:256
↓ 1 callers
Function
ReadSelect
()
cli/main.go:78
↓ 1 callers
Function
ShowAD
()
cli/ui.go:283
↓ 1 callers
Function
ShowCounts
()
cli/ui.go:267
↓ 1 callers
Function
ShowFinalResult
()
cli/ui.go:89
↓ 1 callers
Method
SouthAmerica
()
monitor/check.go:153
↓ 1 callers
Method
SouthEastAsia
()
monitor/check.go:165
↓ 1 callers
Function
SupportApple
(loc string)
pkg/providers/Apple.go:10
↓ 1 callers
Function
SupportClaude
(loc string)
pkg/providers/Claude.go:9
↓ 1 callers
Function
SupportGPT
(loc string)
pkg/providers/ChatGPT.go:10
↓ 1 callers
Function
SupportGemini
(loc string)
pkg/providers/Gemini.go:11
↓ 1 callers
Function
SupportMistral
(loc string)
pkg/providers/Mistral.go:9
↓ 1 callers
Function
SupportNLZIET
(loc string)
pkg/providers/NLZIET.go:9
↓ 1 callers
Function
SupportPerplexity
(loc string)
pkg/providers/Perplexity.go:9
↓ 1 callers
Function
SupportPoe
(loc string)
pkg/providers/Poe.go:9
↓ 1 callers
Function
SupportSonyLiv
(loc string)
pkg/providers/SonyLiv.go:10
↓ 1 callers
Function
SupportStarPlus
(loc string)
pkg/providers/StarPlus.go:11
↓ 1 callers
Function
SupportX
(loc string)
pkg/providers/X.go:9
↓ 1 callers
Method
Taiwan
()
monitor/check.go:137
↓ 1 callers
Function
ThreeToTwoCode
(code string)
pkg/core/country.go:287
↓ 1 callers
Function
TwoToThreeCode
(code string)
pkg/core/country.go:280
↓ 1 callers
Function
addRandomDelay
()
pkg/core/utils.go:66
↓ 1 callers
Function
bilibili
(c core.HttpClient, url string)
pkg/providers/BiliBili.go:10
↓ 1 callers
Function
checkUpdate
(force bool)
cli/update.go:7
↓ 1 callers
Function
checkUpdateOnly
()
cli/update.go:18
↓ 1 callers
Function
copyText
(btn, text)
homepage/app.js:96
↓ 1 callers
Method
excute
(Name string, F func(client core.HttpClient) core.Result)
monitor/check.go:102
↓ 1 callers
Function
extractAMCPlusRegion
(url string)
pkg/providers/AMCPlus.go:8
↓ 1 callers
Function
extractBingRegion
(responseBody string)
pkg/providers/Bing.go:12
↓ 1 callers
Function
extractDisneyPlusRegion
(body string)
pkg/providers/DisneyPlus.go:11
↓ 1 callers
Function
extractDisneyPlusSupport
(body string)
pkg/providers/DisneyPlus.go:20
↓ 1 callers
Function
extractGeminiRegion
(body string)
pkg/providers/Gemini.go:41
next →
1–100 of 330, ranked by callers