reorder methods
This commit is contained in:
parent
ab9fa20a50
commit
85e273afa5
@ -57,14 +57,14 @@ type Tunnel interface {
|
|||||||
type Link interface {
|
type Link interface {
|
||||||
// The id of the link
|
// The id of the link
|
||||||
Id() string
|
Id() string
|
||||||
// Status of the link e.g connected/closed
|
|
||||||
Status() string
|
|
||||||
// Delay is the current load on the link (lower is better)
|
// Delay is the current load on the link (lower is better)
|
||||||
Delay() int64
|
Delay() int64
|
||||||
// Current transfer rate as bits per second (lower is better)
|
|
||||||
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
|
||||||
|
// Current transfer rate as bits per second (lower is better)
|
||||||
|
Rate() float64
|
||||||
|
// Status of the link e.g connected/closed
|
||||||
|
Status() string
|
||||||
// honours transport socket
|
// honours transport socket
|
||||||
transport.Socket
|
transport.Socket
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user