app

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: Apache-2.0 Imports: 8 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 beater

Types

type Carbonbeat

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

Carbonbeat is the parent that provides fields for the methods

func (*Carbonbeat) Run

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

Run starts the beater daemon

func (*Carbonbeat) Stop

func (bt *Carbonbeat) Stop()

Stop gets called when libbeat gets a SIGTERM. It sends a message in a channel to stop the worker.

Jump to

Keyboard shortcuts

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