package
1.5.4
Repository: https://github.com/wjlin0/pathscan.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

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
GetCheckRedirectFunc 辅助函数:获取 CheckRedirect 函数.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
从url中辨别协议,分离 协议 和 域名.
GetProtocolHostAndPort 返回 三个值 以下是案例 http://[A01F::0]:8000/ -> http, [A01F::0], 8000 http://[A01F::0]/a -> http, [A01F::0], 80 https://[A01F::0]/ -> https, [A01F::0], 443 [A01F::0]:8000 -> http, [A01F::0], 8000 [A01F::0] -> http, [A01F::0], 80 127.0.0.1:8000 -> http, 127.0.0.1, 8000 http://127.0.0.1:8000/?a=1 -> http, 127.0.0.1 8000 https://127.0.0.1 -> https, 127.0.0.1 443.
GetProxyFunc 辅助函数:获取代理设置函数.
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
IsValidDomain 使用正则表达式检查字符串是否是有效的域名.
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
ParseProxyAuth 辅助函数:解析代理授权信息(格式为“username:password”).
No description provided by the author
ReadFile 从指定文件中读取数据.
移除字符串重复的、为空的的字符串.
RemoveDuplicateStrings 字符串数组去重.
ReplaceStringsInFile 用于读取文件,替换其中的特定字符串,并在原文件上进行修改.
ToString converts an interface to string in a quick way.
Unzip 覆盖解压.
WriteFile 将数据写入指定文件.