export

package
v5.2.7 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertHitsToCSV

func ConvertHitsToCSV(hits []reader.Hit, columns []string, columnsLabel []string, formatColumnsData map[string]string, separator rune) ([]byte, error)

func CreatePasswordProtectedZipFile added in v5.0.6

func CreatePasswordProtectedZipFile(zipFileName string, contents []byte) ([]byte, error)

func ExportFactHits

func ExportFactHits(ti time.Time, f engine.Fact, placeholders map[string]string, nhit int, offset int) ([]reader.Hit, error)

func ExportFactHitsFull

func ExportFactHitsFull(f engine.Fact) ([]reader.Hit, error)

func ExportFactHitsFullV6 added in v5.2.2

func ExportFactHitsFullV6(f engine.Fact) ([]reader.Hit, error)

func ExportFactHitsFullV8 added in v5.2.2

func ExportFactHitsFullV8(f engine.Fact) ([]reader.Hit, error)

func ExportFactHitsV6 added in v5.2.2

func ExportFactHitsV6(ti time.Time, f engine.Fact, placeholders map[string]string, nhit int, offset int) ([]reader.Hit, error)

func ExportFactHitsV8 added in v5.2.2

func ExportFactHitsV8(ti time.Time, f engine.Fact, placeholders map[string]string, nhit int, offset int) ([]reader.Hit, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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