xflows

package
v0.0.0-...-41b7643 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

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

func NewExporter

func NewExporter(configPath string) (*Exporter, error)

func NewExporterWithConfig

func NewExporterWithConfig(cfg *config.Config, logger *logrus.Logger) (*Exporter, error)

func (*Exporter) Close

func (e *Exporter) Close() error

func (*Exporter) Config

func (e *Exporter) Config() *config.Config

Grabs current cfg

func (*Exporter) ListenFlows

func (e *Exporter) ListenFlows(ringBufferMap *ebpf.Map) error

func (*Exporter) Logger

func (e *Exporter) Logger() *logrus.Logger

If a user wants to add custom logging in

func (*Exporter) Stop

func (e *Exporter) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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