beater

package
v0.2.4 Latest Latest
Warning

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

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

func Read added in v0.2.3

func Read(c *net.UnixConn, buffer []byte) bool

Crazy way to detect if connections if REALY closed ( looks like calling bt.socketConnection.Close() doesn't mean that connections is realy closed)

Types

type Saltbeat

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

func (Saltbeat) Cleanup

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

func (*Saltbeat) Run

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

func (Saltbeat) Stop

func (bt Saltbeat) Stop()

Jump to

Keyboard shortcuts

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