processors

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type JournaldProcessor

type JournaldProcessor struct {
}

func (*JournaldProcessor) Detect

func (p *JournaldProcessor) Detect(line *stream.Line, entry *structure.Entry) bool

func (*JournaldProcessor) Process

func (p *JournaldProcessor) Process(line *stream.Line, entry *structure.Entry) error

type NestedProcessor

type NestedProcessor struct {
}

func (*NestedProcessor) Detect

func (p *NestedProcessor) Detect(line *stream.Line, entry *structure.Entry) bool

func (*NestedProcessor) Process

func (p *NestedProcessor) Process(line *stream.Line, entry *structure.Entry) error

type Processor

type Processor interface {
	Detect(line *stream.Line, entry *structure.Entry) bool
	Process(line *stream.Line, entry *structure.Entry) error
}

Jump to

Keyboard shortcuts

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