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) Name() string
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
Click to show internal directories.
Click to hide internal directories.