reporter

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildOptions

type BuildOptions struct {
	Logger *zap.Logger
}

func (BuildOptions) NamedLogger

func (o BuildOptions) NamedLogger(name string) *zap.Logger

type Builder

type Builder interface {
	Build(r *config.Receiver, opts BuildOptions) (Reporter, error)
}

type Reporter

type Reporter interface {
	Report(ctx context.Context, result *model.Result) error
}

func MultiReporter

func MultiReporter(reporters ...Reporter) Reporter

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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