Update comments

This commit is contained in:
Asim Aslam 2019-10-22 16:53:47 +01:00
parent 4fddd69229
commit ab9fa20a50
2 changed files with 3 additions and 3 deletions

View File

@ -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)
}

View File

@ -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