stdin

package
v6.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProspector

func NewProspector(cfg *common.Config, outlet channel.Factory, context prospector.Context) (prospector.Prospectorer, error)

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

Types

type Prospector

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

Prospector is a prospector for 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