package
Version:
v0.0.0-...-1d50835
Opens a new window with list of versions in this module.
Published: Mar 5, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
type Device struct {
IpAddr string `json:"ip_addr"`
MacAddr string `json:"mac_addr,omitempty"`
Name string `json:"name"`
Vendor string `json:"vendor"`
}
type NmapResponse struct {
Hosts []struct {
Addresses []struct {
Addr string `xml:"addr,attr"`
Type string `xml:"addrtype,attr"`
Vendor string `xml:"vendor,attr"`
} `xml:"address"`
HostNames []struct {
Name string `xml:"name,attr"`
} `xml:"hostnames>hostname"`
} `xml:"host"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.