tracker

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReadBufferSize = 32 * 1024 * 1024
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FlowEventFilter

type FlowEventFilter func(flow *ct.Flow) bool

type FlowTracker

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

func New

func New(nodeIter NodeIterator, filter FlowEventFilter, participantEnricher ParticipantEnricher, flowExporter exporter.Exporter) (*FlowTracker, error)

func (*FlowTracker) Close

func (c *FlowTracker) Close() error

func (*FlowTracker) TrackConnections

func (c *FlowTracker) TrackConnections() error

type NodeIterator

type NodeIterator func(func(node *models.CommonNode) bool)

type ParticipantEnricher

type ParticipantEnricher func(addr netip.Addr) *pbflow.FlowParticipant

Jump to

Keyboard shortcuts

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