package
0.0.22-20241221103638
Repository: https://github.com/oneclickvirt/unlocktests.git
Documentation: pkg.go.dev
# Functions
CheckDNS 三个检测DNS的逻辑并发检测.
CheckDNSIP 检测IP地址是否同子网/在内网.
GetRegion 判断地址是否在允许的地区范围内.
GetUnlockType 获取解锁的类型.
ParseInterface 解析网卡IP地址.
PostJson 向指定的 URL 发送 JSON 格式的 POST 请求,并返回响应、响应体和错误信息 url: 目标 URL payload: 要发送的 JSON 格式的请求体 headers: 可选的 HTTP 头信息.
No description provided by the author
通过Info标记要被插入的行的下一行包含什么文本内容.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReParse 根据正则表达式提取内容.
Req 为 req 设置请求.
ReqDefault 为 req 设置请求.
SetReqHeaders.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author