rtt

package
v0.0.0-...-d687121 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instrumentation

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

func NewInstrumentation

func NewInstrumentation(max int) *Instrumentation

func (*Instrumentation) Drop

func (i *Instrumentation) Drop(key string)

func (*Instrumentation) RecordLatency

func (i *Instrumentation) RecordLatency(key string, value float64)

func (*Instrumentation) RecordLost

func (i *Instrumentation) RecordLost(key string)

func (*Instrumentation) RecordSent

func (i *Instrumentation) RecordSent(key string)

func (*Instrumentation) Snapshot

func (i *Instrumentation) Snapshot(key string, last time.Duration) *rtt.Statistics

Jump to

Keyboard shortcuts

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