Documentation ¶
Index ¶
- type HostResult
- type Result
- func (r *Result) AddDiscoveryIp(ip string)
- func (r *Result) AddIp(ip string)
- func (r *Result) AddPort(ip string, p *port.Port)
- func (r *Result) AddSkipped(ip string)
- func (r *Result) GetDiscoveryIPs() chan string
- func (r *Result) GetIPs() chan string
- func (r *Result) GetIPsPorts() chan *HostResult
- func (r *Result) GetPortCount(host string) int
- func (r *Result) HasDiscoveryIPS() bool
- func (r *Result) HasIP(ip string) bool
- func (r *Result) HasIPS() bool
- func (r *Result) HasIPsPorts() bool
- func (r *Result) HasSkipped(ip string) bool
- func (r *Result) IPHasPort(ip string, p *port.Port) bool
- func (r *Result) IsEmpty() bool
- func (r *Result) Len() int
- func (r *Result) SetDiscoveryIPS(ips chan string)
- func (r *Result) SetPorts(ip string, ports []*port.Port)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
Result of the scan
func (*Result) AddDiscoveryIp ¶
func (*Result) AddSkipped ¶
AddSkipped adds an ip to the skipped list
func (*Result) GetDiscoveryIPs ¶
func (*Result) GetIPsPorts ¶
func (r *Result) GetIPsPorts() chan *HostResult
GetIpsPorts returns the ips and ports
func (*Result) GetPortCount ¶
GetPortCount returns the number of ports discovered for an ip
func (*Result) HasDiscoveryIPS ¶
func (*Result) HasIPsPorts ¶
func (*Result) HasSkipped ¶
HasSkipped checks if an ip has been skipped
func (*Result) SetDiscoveryIPS ¶
Click to show internal directories.
Click to hide internal directories.