Help us shape the future of Go! Take the 2026 Go Developer Survey

peer

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 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