output

package
v2.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: AGPL-3.0 Imports: 3 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(ctx context.Context, 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