output

package
v2.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 1, 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) (retconf utils.TypeOutputConfig, err error)

InitHandler Init outputstdout Handler.

Types

type OutputConfig

type OutputConfig struct {
	utils.OutputConfig
	// contains filtered or unexported fields
}

OutputConfig Define nging' config.

func (*OutputConfig) Event

func (oc *OutputConfig) Event(event utils.LogEvent) (err error)

Event Input's event,and this is the main function of output.

Jump to

Keyboard shortcuts

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