gun

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2016 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gun

type Gun interface {
	Shoot(context.Context, ammo.Ammo) error
	BindResultsTo(chan<- *aggregate.Sample)
}

func NewLogGunFromConfig

func NewLogGunFromConfig(c *config.Gun) (g Gun, err error)

type LogGun

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

func (*LogGun) BindResultsTo

func (l *LogGun) BindResultsTo(results chan<- *aggregate.Sample)

func (*LogGun) Shoot

func (l *LogGun) Shoot(ctx context.Context, a ammo.Ammo) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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