beater

package
v0.0.0-...-139c8a2 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2018 License: Apache-2.0 Imports: 13 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)

New creates new beater

Types

type Commandbeat

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

Commandbeat represents the client for commandbeat

func (*Commandbeat) Run

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

Run starts the commandbeat application. This function blocks until Stop() call.

func (*Commandbeat) Stop

func (bt *Commandbeat) Stop()

Stop stops the application.

type Publisher

type Publisher interface {
	Publish(spec *commandSpec, v common.MapStr)
}

Publisher is a interface responsible for publishing events to anywhere.

Jump to

Keyboard shortcuts

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