beater

package
v0.0.0-...-31c7fe1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error)

Creates beater

Types

type Jsonbeat

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

Jsonbeat implements the Beater interface

func (*Jsonbeat) Run

func (bt *Jsonbeat) Run(b *beat.Beat) error

Run implements the Beater Run interface Contains the main application loop that captures data and sends it to the defined output using the publisher

func (*Jsonbeat) Stop

func (bt *Jsonbeat) Stop()

Stop implements the Beater Stop interface Contains logic that is called when the Beat is signaled to stop

Jump to

Keyboard shortcuts

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