scan

package
v0.0.0-...-51fd5d7 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Port

type Port struct {
	PortType flexlegacy.PortType `json:"port-type"`
	Name     string              `json:"name"`
	Port     int16               `json:"port"`
	Details  string              `json:"details"`
	OID      string              `json:"oid"`
}

type ScanResult

type ScanResult struct {
	Name         string `json:"name"`
	SerialNumber string `json:"serial-number"`
	Latitude     string `json:"latitude"`
	Longitude    string `json:"longitude"`
	Ports        []Port `json:"ports"`
}

func Scanneate

func Scanneate(ip string, port int32) (result ScanResult, err error)

Jump to

Keyboard shortcuts

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