scanner

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Host     string
	Protocol string
	Ports    []int
	Stealth  bool
	Rate     int
	Timeout  time.Duration
	SLP      bool
}

type Result

type Result struct {
	Host    string
	Port    int
	Open    bool
	SLP     *ping.JSON
	Latency int
}

type ResultChan

type ResultChan chan Result

func Scan

func Scan(opts *Options) (ResultChan, error)

Jump to

Keyboard shortcuts

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