peer

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AverageLatency

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

func (*AverageLatency) Update

func (al *AverageLatency) Update(newValue uint64)

func (*AverageLatency) Value

func (al *AverageLatency) Value() uint64

type HasLatency

type HasLatency interface {
	ConnectionLatency() Latency
	HandshakeLatency() Latency
}

type Latency

type Latency interface {
	Value() uint64
}

Jump to

Keyboard shortcuts

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