stdin

package
v6.0.0-beta2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prospector

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

Prospector is a prospector for stdin

func NewProspector

func NewProspector(cfg *common.Config, outlet channel.OutleterFactory) (*Prospector, error)

NewStdin creates a new stdin prospector This prospector contains one harvester which is reading from stdin

func (*Prospector) Run

func (p *Prospector) Run()

Run runs the prospector

func (*Prospector) Stop

func (p *Prospector) Stop()

Stop stops the prospector.

func (*Prospector) Wait

func (p *Prospector) Wait()

Wait waits for completion of the prospector.

Jump to

Keyboard shortcuts

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