stdin

package
v0.7.0-beta Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Receives flows from stdin in JSON format, as exported by the json segment. This segment can also read from a file with flows in json format per each line

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StdIn

type StdIn struct {
	segments.BaseSegment

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

func (StdIn) New

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

func (*StdIn) Run

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

Jump to

Keyboard shortcuts

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