beater

package
v0.0.0-...-81444a0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2016 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sqlbeat

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

Sqlbeat is a struct to hold the beat config & info

func New

func New() *Sqlbeat

New Creates beater

func (*Sqlbeat) Cleanup

func (bt *Sqlbeat) Cleanup(b *beat.Beat) error

Cleanup is a function that does nothing on this beat :)

func (*Sqlbeat) Config

func (bt *Sqlbeat) Config(b *beat.Beat) error

Config is a function to read config file

func (*Sqlbeat) Run

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

Run is a functions that runs the beat

func (*Sqlbeat) Setup

func (bt *Sqlbeat) Setup(b *beat.Beat) error

Setup is a function to setup all beat config & info into the beat struct

func (*Sqlbeat) Stop

func (bt *Sqlbeat) Stop()

Stop is a function that runs once the beat is stopped

Jump to

Keyboard shortcuts

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