beats: Index | Files

package stdin

import ""


Package Files


func NewInput Uses

func NewInput(cfg *common.Config, outlet channel.Connector, context input.Context) (input.Input, error)

NewInput creates a new stdin input This input contains one harvester which is reading from stdin

type Input Uses

type Input struct {
    // contains filtered or unexported fields

Input is an input for stdin

func (*Input) Run Uses

func (p *Input) Run()

Run runs the input

func (*Input) Stop Uses

func (p *Input) Stop()

Stop stops the input

func (*Input) Wait Uses

func (p *Input) Wait()

Wait waits for completion of the input.

Package stdin imports 9 packages (graph) and is imported by 30 packages. Updated 2019-08-10. Refresh now. Tools for package owners.