ports

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 4 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 interface {
	Scan(context.Context) map[string][]int
}

func NewScanner

func NewScanner(hosts []string, shouldScanAll bool) Scanner

NewScanner initializes a new port-scanner based on whether or not the user wants to scan all ports or just the well-known ports.

Jump to

Keyboard shortcuts

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