json

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Prints all flows to stdout or a given file in json format, for consumption by the stdin segment or for debugging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Json

type Json struct {
	segments.BaseSegment

	FileName string // optional, default is empty which means stdout
	// contains filtered or unexported fields
}

func (Json) New

func (segment Json) New(config map[string]string) segments.Segment

func (*Json) Run

func (segment *Json) Run(wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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