Documentation ¶
Index ¶
- func GenerateColumns(modules []recon.Module, outputColumns []string) []recon.Column
- func GenerateOptionTable(options []recon.Option, columns []recon.Column) ([]string, [][]interface{})
- func RenderAsCSV(headers []string, rows []map[string]string, writer io.Writer) error
- func RenderAsJSON(rows []map[string]string, writer io.Writer)
- func RenderAsTSV(headers []string, rows []map[string]string, writer io.Writer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateColumns ¶
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 ¶
RenderAsCSV prints data as CSV to the writer
func RenderAsJSON ¶
RenderAsJSON prints data as JSON to the writer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.