filter

package
v2.0.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2019 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "nging"
)

Variables

This section is empty.

Functions

func InitHandler

func InitHandler(confraw *utils.ConfigRaw) (tfc utils.TypeFilterConfig, err error)

InitHandler Init nging Handler.

Types

type FilterConfig

type FilterConfig struct {
	utils.FilterConfig
}

FilterConfig define nging' config.

func (*FilterConfig) Event

func (fc *FilterConfig) Event(event utils.LogEvent) utils.LogEvent

Event Filter's event,and this is the main function of filter.

Jump to

Keyboard shortcuts

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