scan

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner struct {
	Host    string
	Ports   []int
	Verbose bool
}

Scanner contains fields that tell it what kind of scan needs to be performed.

func (*Scanner) Scan

func (s *Scanner) Scan(ctx context.Context)

Scan iterates through `portsForScanning` and scans each port in it's own goroutine. Scan does not exit until all goroutines are done.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL