package
Version:
v0.0.0-...-ff4b512
Opens a new window with list of versions in this module.
Published: Mar 9, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Addr struct {
Address string `xml:"addr,attr"`
Type string `xml:"addrtype,attr"`
}
type Host struct {
Address Addr `xml:"address"`
Ports []Port `xml:"ports>port"`
}
type Port struct {
Id uint16 `xml:"portid,attr"`
Proto string `xml:"protocol,attr"`
State State `xml:"state"`
}
type Run struct {
XMLName xml.Name `xml:"nmaprun"`
Start int64 `xml:"start,attr"`
Hosts []Host `xml:"host"`
}
type State struct {
State string `xml:"state,attr"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.