Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/alwaystest18/cdnChecker
/ functions
Functions
9 in github.com/alwaystest18/cdnChecker
⨍
Functions
9
◇
Types & classes
0
↓ 12 callers
Function
UniqueStrList
字符型列表去重去空
cdnChecker.go:110
↓ 3 callers
Function
FileContentToList
将文件内容转为字符列表,主要用于域名列表、cdn cname列表与dns服务器
cdnChecker.go:29
↓ 3 callers
Function
In
判断字符串在数组元素中是否包含
cdnChecker.go:48
↓ 1 callers
Function
CdnCheck
判断域名是否使用cdn
cdnChecker.go:155
↓ 1 callers
Function
FilterValidResolver
通过解析特定域名获取ip地址来找出提供列表中可用dns服务器
cdnChecker.go:58
↓ 1 callers
Function
GenerateRandomNumber
生成count个[start,end)结束的不重复的随机数
cdnChecker.go:123
↓ 1 callers
Function
InCdnCnameList
判断域名的cname是否包含cdn cname,如果包含则判定使用了cdn
cdnChecker.go:70
↓ 1 callers
Function
ResolvDomainIpPart
获取域名在特定dns上的解析ip,并且以.分割ip,取ip的前三部分,即解析ip为1.1.1.1,最终输出为[1.1.1],便于判断多个ip是否在相同网段
cdnChecker.go:84
Function
main
()
cdnChecker.go:213