diff --git a/tunnel/link.go b/tunnel/link.go index 580c6abd..22362198 100644 --- a/tunnel/link.go +++ b/tunnel/link.go @@ -90,7 +90,7 @@ func (l *link) Delay() int64 { return 0 } -// Transfer rate capability as bits per second (higher is better) +// Current transfer rate as bits per second (lower is better) func (l *link) Rate() float64 { return float64(10e8) } diff --git a/tunnel/tunnel.go b/tunnel/tunnel.go index cc03f07f..9a52ffaf 100644 --- a/tunnel/tunnel.go +++ b/tunnel/tunnel.go @@ -59,9 +59,9 @@ type Link interface { Id() string // Status of the link e.g connected/closed Status() string - // Delay is the current load on the link + // Delay is the current load on the link (lower is better) Delay() int64 - // Transfer rate capability as bits per second (higher is better) + // Current transfer rate as bits per second (lower is better) Rate() float64 // Length returns the roundtrip time as nanoseconds (lower is better) Length() int64