Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonLinesWriter ¶
type JsonLinesWriter struct {
// contains filtered or unexported fields
}
JsonLinesWriter is a writer for json lines
func NewJsonLinesWriter ¶
func NewJsonLinesWriter(filePath string) (*JsonLinesWriter, error)
NewJsonLinesWriter creates a new json lines writer
func (*JsonLinesWriter) Close ¶
func (j *JsonLinesWriter) Close() error
Close closes the file writer.
func (*JsonLinesWriter) Write ¶
func (j *JsonLinesWriter) Write(data *types.HTTPRequestResponseLog) error
Write writes a http transaction to the file.
Click to show internal directories.
Click to hide internal directories.