reporter

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicReporter

type BasicReporter struct {
	// contains filtered or unexported fields
}

func (*BasicReporter) Finalize

func (b *BasicReporter) Finalize()

func (*BasicReporter) Start

func (b *BasicReporter) Start(ctx context.Context, c chan *bench.RequestMetric)

type NullReporter

type NullReporter struct {
	// contains filtered or unexported fields
}

NullReporter is used to drain from channel only, it reports to nowhere

func (*NullReporter) Finalize

func (n *NullReporter) Finalize()

func (*NullReporter) Start

func (n *NullReporter) Start(ctx context.Context, c chan *bench.RequestMetric)

Start implements Reporter

type Reporter

type Reporter interface {
	//ReporterName() string
	Start(context.Context, chan *bench.RequestMetric)
	Finalize()
}

Jump to

Keyboard shortcuts

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