null

package
v0.0.1-alpha.0...-62df7a4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2016 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NullInput

type NullInput struct {
	Config inputs.MothershipConfig
	Type   string
}

func (*NullInput) GetConfig

func (l *NullInput) GetConfig() inputs.MothershipConfig

func (*NullInput) Init

func (l *NullInput) Init(config inputs.MothershipConfig) error

func (*NullInput) InputType

func (l *NullInput) InputType() string

func (*NullInput) InputVersion

func (l *NullInput) InputVersion() string

func (*NullInput) Run

func (l *NullInput) Run(output chan common.MapStr) error

below is an example of a run for an "interrupt" style input see bottom for a "periodic" style input

func (*NullInput) RunPeriodic

func (l *NullInput) RunPeriodic(output chan common.MapStr) error

If you had a periodic type input, use the below as the "Run" method instead of the above "Run"

Jump to

Keyboard shortcuts

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