mirror of
https://github.com/go-micro/go-micro.git
synced 2025-08-10 21:52:01 +02:00
reorder methods
This commit is contained in:
@@ -57,14 +57,14 @@ type Tunnel interface {
|
||||
type Link interface {
|
||||
// The id of the link
|
||||
Id() string
|
||||
// Status of the link e.g connected/closed
|
||||
Status() string
|
||||
// Delay is the current load on the link (lower is better)
|
||||
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() 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
|
||||
transport.Socket
|
||||
}
|
||||
|
Reference in New Issue
Block a user