mirror of
https://github.com/go-micro/go-micro.git
synced 2025-08-10 21:52:01 +02:00
Update comments
This commit is contained in:
@@ -90,7 +90,7 @@ func (l *link) Delay() int64 {
|
|||||||
return 0
|
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 {
|
func (l *link) Rate() float64 {
|
||||||
return float64(10e8)
|
return float64(10e8)
|
||||||
}
|
}
|
||||||
|
@@ -59,9 +59,9 @@ type Link interface {
|
|||||||
Id() string
|
Id() string
|
||||||
// Status of the link e.g connected/closed
|
// Status of the link e.g connected/closed
|
||||||
Status() string
|
Status() string
|
||||||
// Delay is the current load on the link
|
// Delay is the current load on the link (lower is better)
|
||||||
Delay() int64
|
Delay() int64
|
||||||
// Transfer rate capability as bits per second (higher is better)
|
// Current transfer rate as bits per second (lower is better)
|
||||||
Rate() float64
|
Rate() float64
|
||||||
// Length returns the roundtrip time as nanoseconds (lower is better)
|
// Length returns the roundtrip time as nanoseconds (lower is better)
|
||||||
Length() int64
|
Length() int64
|
||||||
|
Reference in New Issue
Block a user