parsers

package
v0.0.0-...-b9d044a Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPlugin

func AddPlugin(plugin ik.LineParserPlugin) bool

func GetPlugins

func GetPlugins() []ik.LineParserPlugin

Types

type RegexpLineParser

type RegexpLineParser struct {
	// contains filtered or unexported fields
}

func (*RegexpLineParser) Feed

func (parser *RegexpLineParser) Feed(line string) error

type RegexpLineParserFactory

type RegexpLineParserFactory struct {
	// contains filtered or unexported fields
}

func (*RegexpLineParserFactory) New

func (factory *RegexpLineParserFactory) New(receiver func(ik.FluentRecord) error) (ik.LineParser, error)

type RegexpLineParserPlugin

type RegexpLineParserPlugin struct{}

func (*RegexpLineParserPlugin) Name

func (*RegexpLineParserPlugin) New

func (plugin *RegexpLineParserPlugin) New(engine ik.Engine, config *ik.ConfigElement) (ik.LineParserFactory, error)

func (*RegexpLineParserPlugin) OnRegistering

func (plugin *RegexpLineParserPlugin) OnRegistering(visitor func(name string, factoryFactory ik.LineParserFactoryFactory) error) error

Jump to

Keyboard shortcuts

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