Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/403unlocker/403unlocker-cli
/ functions
Functions
31 in github.com/403unlocker/403unlocker-cli
⨍
Functions
31
◇
Types & classes
2
↓ 6 callers
Function
AddPathToDir
(baseDir, extraDir string)
internal/common/function.go:212
↓ 6 callers
Function
ReadDNSFromFile
(filename string)
internal/common/function.go:138
↓ 5 callers
Method
Close
()
internal/docker/function.go:64
↓ 4 callers
Function
DownloadConfigFile
(url, path string)
internal/common/function.go:59
↓ 4 callers
Function
FormatDataSize
FormatDataSize converts the size in bytes to a human-readable string in KB, MB, or GB.
internal/common/function.go:41
↓ 4 callers
Function
GetHomeDir
()
internal/common/function.go:198
↓ 3 callers
Function
ChangeDNS
(dns string)
internal/common/function.go:178
↓ 2 callers
Function
DockerImageValidator
DockerImageValidator validates a Docker image name using a regular expression.
internal/docker/function.go:26
↓ 2 callers
Function
DomainValidator
(domain string)
internal/check/function.go:74
↓ 2 callers
Function
GetTempDir
()
internal/common/function.go:205
↓ 2 callers
Function
ReadDockerromFile
(filename string)
internal/common/function.go:158
↓ 2 callers
Function
URLValidator
(URL string)
internal/dns/function.go:19
↓ 2 callers
Function
ensureHTTPS
(URL string)
internal/check/function.go:95
↓ 1 callers
Function
CheckAndCacheDNS
(url string)
internal/dns/function.go:36
↓ 1 callers
Function
CheckWithDNS
(commandLintFirstArg string)
internal/check/function.go:14
↓ 1 callers
Function
CheckWithDockerImage
CheckWithDockerImage downloads the image from multiple registries and reports the downloaded data size.
internal/docker/function.go:102
↓ 1 callers
Function
CheckWithURL
(commandLintFirstArg string, check bool, timeout int)
internal/dns/function.go:124
↓ 1 callers
Function
DownloadDockerImage
DownloadDockerImage downloads a Docker image from a registry and tracks the bytes downloaded.
internal/docker/function.go:69
↓ 1 callers
Function
Execute
()
cmd/cli/root.go:18
↓ 1 callers
Function
WriteDNSToFile
(filename string, dnsList []string)
internal/common/function.go:105
Method
Read
(p []byte)
internal/docker/function.go:58
Method
RoundTrip
RoundTrip implements the http.RoundTripper interface and wraps the response body to count bytes read.
internal/docker/function.go:43
Function
TestDomainValidator
(t *testing.T)
internal/check/fucntion_test.go:9
Function
TestEnsureHTTPS
(t *testing.T)
internal/check/fucntion_test.go:85
Function
TestIsValidHTTPURL
(t *testing.T)
internal/dns/function_test.go:9
Function
TestValidateDockerImageName
(t *testing.T)
internal/docker/fucntion_test.go:9
Function
init
()
cmd/cli/bestdns.go:36
Function
init
()
cmd/cli/fastdocker.go:33
Function
init
()
cmd/cli/check.go:30
Function
init
()
cmd/cli/root.go:25
Function
main
()
cmd/main.go:7