testing

package
v0.0.0-...-a002913 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorSender

type ErrorSender struct {
	Err error
}

ErrorSender implements the metric sender interface and is used to return errors during testing

func (*ErrorSender) Send

Send implements the Send interface returning errors specified in the ErrorSender.

type MockSender

type MockSender struct {
	Data [][]*wireformat.MetricBatch
}

MockSender implements the metric sender interface.

func (*MockSender) Send

Send implements the Send interface.

Jump to

Keyboard shortcuts

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