Update comments
This commit is contained in:
parent
4fddd69229
commit
ab9fa20a50
@ -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)
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user