export

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateColumns

func GenerateColumns(modules []recon.Module, outputColumns []string) []recon.Column

GenerateColumns returns the expected output columns, filtered by name if outputColumns is set if outputColumns is not set, all columns are returned (except hidden columns)

func GenerateOptionTable

func GenerateOptionTable(options []recon.Option, columns []recon.Column) ([]string, [][]interface{})

GenerateOptionTable generates a table of options with the given columns

func RenderAsCSV

func RenderAsCSV(headers []string, rows []map[string]string, writer io.Writer) error

RenderAsCSV prints data as CSV to the writer

func RenderAsJSON

func RenderAsJSON(rows []map[string]string, writer io.Writer)

RenderAsJSON prints data as JSON to the writer

func RenderAsTSV

func RenderAsTSV(headers []string, rows []map[string]string, writer io.Writer)

RenderAsTSV prints data as TSV to the writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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