package
0.0.0-20250104181344-16c4f9e42ab1
Repository: https://github.com/snakem982/proxypool.git
Documentation: pkg.go.dev

# Functions

Base62 generates a random Base62 string with length of n Example: 1BsNqB61o4ztSqLC6labKGNf4MYy352X.
Base64 generates a random Base64 string with length of n Example: X02+jDDF/exDoqPg9/aXlzbUCN93GIQ5.
Bytes generates n random bytes.
CheckStringAlphabet @Description: 检查字符串是否为域名 @param str @return bool.
ConcurrentHttpGet 并发获取指定URL的HTTP内容.
Dec generates a random decimal number string with length of n Example: 37110235710860781655802098192113.
GetFreePort 函数用于获取一个可用的随机端口号,并在函数结束后关闭监听器。.
GetFreeWithPort 检测端口是否可用.
Hex generates a random Hexadecimal string with length of n Example: 67aab2d956bd7cc621af22cfb169cba8.
HttpGet 使用HTTP GET方法请求指定的URL,并返回响应的数据和可能的错误。.
HttpGetByProxy 使用代理访问指定的URL并返回响应数据.
HttpGetWithTimeout 使用HTTP GET方法请求指定的URL,并返回响应的数据和可能的错误。.
ReadConfig 从指定路径读取配置文件内容并返回字节切片.
Reverse @Description: 反转域名字符串 @param s @return string.
No description provided by the author
String generates a random string using only letters provided in the letters parameter.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author