mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-24 20:21:52 +08:00
refactor: 删除 deadcode 检测出的未使用函数
- proxy/detector.go: 删除 IsSOCKS5Standard, IsProxyInitialized - findnet.go: 删除 NetworkInfo.OneLine, TreeFormat 方法 - port_scan.go: 删除 estimateScanTime 函数 - web_scanner.go: 删除 GetFingerprints 函数 - 清理相关测试代码
This commit is contained in:
@@ -41,16 +41,6 @@ func IsProxyEnabled() bool {
|
||||
return proxyEnabled.Load()
|
||||
}
|
||||
|
||||
// IsSOCKS5Standard 检查SOCKS5代理是否为标准代理
|
||||
func IsSOCKS5Standard() bool {
|
||||
return socks5Standard.Load()
|
||||
}
|
||||
|
||||
// IsProxyInitialized 检查代理是否已初始化
|
||||
func IsProxyInitialized() bool {
|
||||
return proxyInitialized.Load()
|
||||
}
|
||||
|
||||
// SetProxyReliable 设置代理可靠性状态
|
||||
func SetProxyReliable(reliable bool) {
|
||||
proxyReliable.Store(reliable)
|
||||
|
||||
Reference in New Issue
Block a user