Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteExport ¶
func WriteExport( allEvents []*tapv1.HTTPEvent, searchQuery string, filterErrors bool, format ExportFormat, dir string, ) (string, error)
WriteExport writes filtered events to a file and returns the path. dir specifies the output directory; if empty, the current directory is used.
Types ¶
type ExportFormat ¶
type ExportFormat int
ExportFormat specifies the output format for exports.
const ( // ExportJSON exports as JSON. ExportJSON ExportFormat = iota // ExportMarkdown exports as Markdown. ExportMarkdown )
Click to show internal directories.
Click to hide internal directories.