stdout

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeConfig

func DecodeConfig(md toml.MetaData, primValue toml.Primitive) (c interface{}, err error)

func NewStdout

func NewStdout(ctx context.Context, config interface{}) (output.Output, error)

Types

type Config

type Config struct {
	Name string `tome:"name"`
}

func (*Config) ConfigValidate

func (c *Config) ConfigValidate() error

type Stdout

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

func (*Stdout) InputChan

func (s *Stdout) InputChan() chan *event.ProcessorEvent

func (*Stdout) Run

func (s *Stdout) Run() (err error)

func (*Stdout) Stop

func (s *Stdout) Stop()

Jump to

Keyboard shortcuts

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