output

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: AGPL-3.0, AGPL-3.0-only Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultOutputFile

func DefaultOutputFile(now time.Time) string

func LoadPersistedResults

func LoadPersistedResults(path string) ([]string, error)

func PersistResults

func PersistResults(summary *Summary, outputFile string) error

func PrintStopNotice

func PrintStopNotice(stderr io.Writer, stateFile string, colorize bool)

func PrintSummary

func PrintSummary(stderr io.Writer, summary Summary, colorize bool)

func SupportsTTY

func SupportsTTY(w io.Writer) bool

func WriteResults

func WriteResults(results []string, requestedPath string) (string, error)

Types

type Summary

type Summary struct {
	TotalIPs         uint64
	TotalEndpoints   uint64
	ScannedEndpoints uint64
	OpenEndpoints    uint64
	ProbedEndpoints  uint64
	ValidEndpoints   uint64
	Results          []string
	OutputFile       string
	Elapsed          time.Duration
}

Jump to

Keyboard shortcuts

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