beater

package
v5.0.0-alpha5+incompat... Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2016 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

Types

type CmdLineArgs

type CmdLineArgs struct {
	File         *string
	Loop         *int
	OneAtAtime   *bool
	TopSpeed     *bool
	Dumpfile     *string
	WaitShutdown *int
}

type Packetbeat

type Packetbeat struct {
	Config      config.Config
	CmdLineArgs CmdLineArgs
	Pub         *publish.PacketbeatPublisher
	Sniff       *sniffer.SnifferSetup
	// contains filtered or unexported fields
}

Beater object. Contains all objects needed to run the beat

func (*Packetbeat) Run

func (pb *Packetbeat) Run(b *beat.Beat) error

func (*Packetbeat) Stop

func (pb *Packetbeat) Stop()

Called by the Beat stop function

Jump to

Keyboard shortcuts

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