monitor

package
v0.0.0-...-f54534b Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoError = iota
	ProcFsErr
	AuditdErr
	EbpfErr
	EbpfEventsErr
)

List of errors that this package may return.

Variables

This section is empty.

Functions

func End

func End()

End stops the way of parsing new connections.

Types

type Error

type Error struct {
	What int
	Msg  error
}

Error wraps the type of error with its message

func Init

func Init(ebpfCfg ebpf.Config) (errm *Error)

Init starts parsing connections using the method specified.

func ReconfigureMonitorMethod

func ReconfigureMonitorMethod(newMonitorMethod string, ebpfCfg ebpf.Config) *Error

ReconfigureMonitorMethod configures a new method for parsing connections.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳