peer

package
v4.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2018 License: MIT 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