consumer

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecEventConsumer

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

func NewExecEventConsumer

func NewExecEventConsumer(pcache *metadata.ProcessCache, workerNumber int) *ExecEventConsumer

func (*ExecEventConsumer) Start

func (c *ExecEventConsumer) Start(ctx context.Context, ch <-chan bpf.BpfExecEventT)

func (*ExecEventConsumer) Stop

func (c *ExecEventConsumer) Stop()

type ExitEventConsumer added in v0.15.0

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

func NewExitEventConsumer added in v0.15.0

func NewExitEventConsumer(pcache *metadata.ProcessCache, workerNumber int) *ExitEventConsumer

func (*ExitEventConsumer) Start added in v0.15.0

func (c *ExitEventConsumer) Start(ctx context.Context, ch <-chan bpf.BpfExitEventT)

func (*ExitEventConsumer) Stop added in v0.15.0

func (c *ExitEventConsumer) Stop()

type GoKeyLogEventConsumer added in v0.23.0

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

func NewGoKeyLogEventConsumer added in v0.23.0

func NewGoKeyLogEventConsumer(workerNumber int, ws ...writer.KeyLogWriter) *GoKeyLogEventConsumer

func (*GoKeyLogEventConsumer) Start added in v0.23.0

func (c *GoKeyLogEventConsumer) Start(ctx context.Context, ch <-chan bpf.BpfGoKeylogEventT)

func (*GoKeyLogEventConsumer) Stop added in v0.23.0

func (c *GoKeyLogEventConsumer) Stop()

type PacketEventConsumer

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

func NewPacketEventConsumer

func NewPacketEventConsumer(writers []writer.PacketWriter) *PacketEventConsumer

func (*PacketEventConsumer) ProcessedCount added in v0.7.0

func (c *PacketEventConsumer) ProcessedCount() int

func (*PacketEventConsumer) Start

func (c *PacketEventConsumer) Start(ctx context.Context, ch <-chan bpf.BpfPacketEventWithPayloadT, maxPacketCount uint)

func (*PacketEventConsumer) Stop

func (c *PacketEventConsumer) Stop()

func (*PacketEventConsumer) WithDelay added in v0.23.0

Jump to

Keyboard shortcuts

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