csv

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: 11 Imported by: 0

Documentation

Overview

Package csv processes all flows from it's In channel and converts them into CSV format. Using it's configuration options it can write to a file or to stdout.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Csv

type Csv struct {
	segments.BaseSegment

	FileName string // optional, default is empty which means stdout
	Fields   string // optional comma-separated list of fields to export, default is "", meaning all fields
	// contains filtered or unexported fields
}

func (Csv) New

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

func (*Csv) Run

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

Jump to

Keyboard shortcuts

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