formatter

package
v0.0.0-...-a7abf92 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter struct {
	Header          []string
	Data            [][]string
	Border          bool
	Separator       string
	ColumnSeparator string
}

Formatter struct of Formatter

func (*Formatter) AssembleNetData

func (f *Formatter) AssembleNetData(ips []net.IP)

AssembleNetData assembles output data for net scanner

func (*Formatter) AssemblePortData

func (f *Formatter) AssemblePortData(ports []int, pra *reference.PortRefArray)

AssemblePortData assembles output data for port scanner

func (*Formatter) Print

func (f *Formatter) Print()

Print prints formatted table of data

Jump to

Keyboard shortcuts

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