Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Port int Type ResultType Error error }
Result is a port or an error returned from the scanner
type ResultType ¶
type ResultType int
ResultType is the type of result returned
const ( ResultPort ResultType = iota ResultError )
Types of results retured
type Scanner ¶
Scanner is a scanner that scans for ports using SYN packets.
func NewScanner ¶
NewScanner creates a new full port scanner that scans all ports using SYN packets.
func (*Scanner) ConnectVerify ¶
ConnectVerify is used to verify if ports are accurate using a connect request
Click to show internal directories.
Click to hide internal directories.