Host 结构体表示一个扫描目标
| 18 | |
| 19 | // Host 结构体表示一个扫描目标 |
| 20 | type Host struct { |
| 21 | IP net.IP // IP地址 |
| 22 | Origin string // 原始输入(IP/域名/CIDR) |
| 23 | Type HostType // 主机类型(IP/CIDR/域名) |
| 24 | } |
| 25 | |
| 26 | // ScanResult 表示扫描结果 |
| 27 | type ScanResult struct { |
nothing calls this directly
no outgoing calls
no test coverage detected