Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTcpOption = port.ScannerOption{
Rate: 1000,
Timeout: 800,
}
Functions ¶
This section is empty.
Types ¶
type TcpScanner ¶
type TcpScanner struct {
// contains filtered or unexported fields
}
TcpScanner 结构体更新
func NewTcpScanner ¶
func NewTcpScanner(ctx context.Context, retChan chan port.OpenIpPort, option port.ScannerOption) (*TcpScanner, error)
NewTcpScanner 函数更新
func (*TcpScanner) WaitLimiter ¶
func (ts *TcpScanner) WaitLimiter() error
Click to show internal directories.
Click to hide internal directories.