package
0.6.4
Repository: https://github.com/teaoslab/edgecommon.git
Documentation: pkg.go.dev

# Functions

CopyStructObject 拷贝同类型struct指针对象中的字段.
HasVariables 判断是否有变量.
IP2Long 将IP对象转换为整型.
IPString2Long 将IP转换为整型 注意IPv6没有顺序.
IPVersion 获取IP版本号.
IsFuzzyDomain 判断是否为特殊域名.
IsIPv4 检查是否为IPv4.
IsIPv6 检查是否为IPv6.
记录错误.
MatchDomain 匹配单个域名规则.
MatchDomains 从一组规则中匹配域名 支持的格式:example.com, www.example.com, .example.com, *.example.com, ~(\d+).example.com 更多参考:http://nginx.org/en/docs/http/ngx_http_core_module.html#server_name.
关键词匹配.
ParseCIDR 计算CIDR最大值.
ParseHolders 分析占位.
ParseVariables 分析变量.
ParseVariablesFromHolders 从占位中分析变量.
QuoteIP 为IPv6加上括号.
No description provided by the author
No description provided by the author

# Constants

全部.
未安装.
已安装.

# Variables

No description provided by the author
数据来自 https://webcheatsheet.com/html/character_sets_list.php.
No description provided by the author

# Type aliases

No description provided by the author
VariableHolder 变量信息存储类型.
No description provided by the author