dropfields

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Drops fields from any passing flow.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DropFields

type DropFields struct {
	segments.BaseSegment
	Policy string // required, options are 'keep' or 'drop'
	Fields string // optional, default is empty, determines which fields are kept/dropped
}

func (DropFields) New

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

func (*DropFields) Run

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

Jump to

Keyboard shortcuts

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