Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrExists = errors.New("host already in the list") ErrNotExists = errors.New("host not in the list") )
Functions ¶
This section is empty.
Types ¶
type PortScanner ¶
type PortScanner struct {
Hosts []string
Ports []Port
W io.Writer
Filter string
Timeout int
// contains filtered or unexported fields
}
func (*PortScanner) PrintResults ¶
func (ps *PortScanner) PrintResults() error
func (*PortScanner) ScanPorts ¶
func (ps *PortScanner) ScanPorts()
func (*PortScanner) SortResults ¶
func (ps *PortScanner) SortResults()
func (*PortScanner) ValidateHosts ¶
func (ps *PortScanner) ValidateHosts() error
Click to show internal directories.
Click to hide internal directories.