protocols

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

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

func NewAnalyzer

func NewAnalyzer(ctx protocol.Context, config *profiling.TaskConfig) *Analyzer

func (*Analyzer) ReceiveSocketClose added in v0.5.0

func (a *Analyzer) ReceiveSocketClose(event *events.SocketCloseEvent)

func (*Analyzer) ReceiveSocketDataEvent

func (a *Analyzer) ReceiveSocketDataEvent(event *events.SocketDataUploadEvent)

func (*Analyzer) ReceiveSocketDetail added in v0.5.0

func (a *Analyzer) ReceiveSocketDetail(event *events.SocketDetailEvent)

func (*Analyzer) Start added in v0.5.0

func (a *Analyzer) Start(ctx context.Context)

func (*Analyzer) UpdateExtensionConfig

func (a *Analyzer) UpdateExtensionConfig(config *profiling.ExtensionConfig)

type ProtocolMetrics

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

func NewProtocolMetrics

func NewProtocolMetrics() *ProtocolMetrics

func (*ProtocolMetrics) FlushMetrics

func (m *ProtocolMetrics) FlushMetrics(traffic *base.ProcessTraffic, metricsBuilder *base.MetricsBuilder)

func (*ProtocolMetrics) GetProtocolMetrics

func (m *ProtocolMetrics) GetProtocolMetrics(p enums.ConnectionProtocol) protocol.Metrics

func (*ProtocolMetrics) MergeMetricsFromConnection

func (m *ProtocolMetrics) MergeMetricsFromConnection(connection *base.ConnectionContext, data base.ConnectionMetrics)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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