MCPcopy Create free account
hub / github.com/MengMengCode/GetRealityDomain / Host

Struct Host

types.go:20–24  ·  view source on GitHub ↗

Host 结构体表示一个扫描目标

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected