mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-09-14 14:06:44 +08:00

- 重命名common/core包为common/base,解决与根目录core包名冲突问题 - 移除common/parsers/LegacyParser.go向后兼容层,简化代码架构 - 将SimpleParseIP/SimpleParsePort等函数重命名为ParseIP/ParsePort - 更新所有相关引用和导入路径 - 删除41行冗余代码,提升代码可维护性
16 lines
366 B
Go
16 lines
366 B
Go
package common
|
||
|
||
import "github.com/shadow1ng/fscan/common/base"
|
||
|
||
/*
|
||
Ports.go - 端口常量(向后兼容层)
|
||
|
||
此文件保持向后兼容,实际常量定义已迁移到Core/Constants.go
|
||
*/
|
||
|
||
// 向后兼容的端口常量 - 引用Core包中的定义
|
||
var (
|
||
WebPorts = base.WebPorts // Web服务端口组
|
||
MainPorts = base.MainPorts // 主要服务端口组
|
||
)
|