新增以下功能: - 添加 `GetLocalIpv4Addr` 函数用于获取本机公网IPv4地址,通过外部API实现,并增加基本校验逻辑 - 添加 `ContainsPart` 和 `SplitBySpace` 函数,支持按空格分割字符串并进行区域关键词模糊匹配 - 引入标准库依赖:`fmt`、`io`、`net`、`net/http`、`strings` 同时移除已废弃的文件: - 删除 `local_addr.go`,相关逻辑迁移至 `common.go` - 删除 `region_name_match.go`,相关函数整合进 `common.go` - 删除 `warning_ding.go`,原钉钉告警模块暂不启用 更新二进制文件 `denyip`,删除压缩版本 `denyip.upx`
12 MiB
12 MiB
The file is too large to be shown.
View Raw