v2ray-core: github.com/v2ray/v2ray-core/common/peer Index | Files

package peer

import "github.com/v2ray/v2ray-core/common/peer"

Index

Package Files

latency.go peer.go

type AverageLatency Uses

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

func (*AverageLatency) Update Uses

func (al *AverageLatency) Update(newValue uint64)

func (*AverageLatency) Value Uses

func (al *AverageLatency) Value() uint64

type HasLatency Uses

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

type Latency Uses

type Latency interface {
    Value() uint64
}

Package peer imports 1 packages (graph). Updated 2018-07-29. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).