Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
Core implements the Runner interface for performing network scanning
type DeviceResult ¶
type DeviceResult struct { IP net.IP `json:"ip"` MAC net.HardwareAddr `json:"mac"` Hostname string `json:"hostname"` Vendor string `json:"vendor"` Status scanner.Status `json:"status"` OpenPorts []scanner.Port `json:"openPorts"` }
DeviceResult represents a discovered network device
func (*DeviceResult) Serializable ¶
func (r *DeviceResult) Serializable() interface{}
Serializable returns a serializable version of DeviceResult
type Results ¶
type Results struct {
Devices []*DeviceResult `json:"devices"`
}
Results data structure for holding discovered network devices
func (*Results) MarshalJSON ¶
MarshalJSON returns marshaled JSON of Results
Click to show internal directories.
Click to hide internal directories.