model

package
v0.0.0-...-40bec92 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheStatus

func CacheStatus() (count int, items map[string]cache.Item)

func DumpToFile

func DumpToFile(filename string) (err error)

func ResultTotal

func ResultTotal()

func SaveResult

func SaveResult(result ScanResult, err error)

func SaveResultToFile

func SaveResultToFile() error

Types

type IpAddr

type IpAddr struct {
	Ip       string
	Port     int
	Protocol string
}

type ScanResult

type ScanResult struct {
	Service Service
	Result  bool
}

type Service

type Service struct {
	Ip       string
	Port     int
	Protocol string
	Username string
	Password string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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