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

package peer

import "v2ray.com/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-31. Refresh now. Tools for package owners.