mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-26 09:47:44 +00:00
Rename latency_ms
to latency
in getPeers
response since it isn't even milliseconds anymore
This commit is contained in:
parent
22bc9c44e2
commit
1fbcf3b3c2
@ -31,7 +31,7 @@ type PeerEntry struct {
|
|||||||
RXRate DataUnit `json:"rate_recvd,omitempty"`
|
RXRate DataUnit `json:"rate_recvd,omitempty"`
|
||||||
TXRate DataUnit `json:"rate_sent,omitempty"`
|
TXRate DataUnit `json:"rate_sent,omitempty"`
|
||||||
Uptime float64 `json:"uptime,omitempty"`
|
Uptime float64 `json:"uptime,omitempty"`
|
||||||
Latency time.Duration `json:"latency_ms,omitempty"`
|
Latency time.Duration `json:"latency,omitempty"`
|
||||||
LastErrorTime time.Duration `json:"last_error_time,omitempty"`
|
LastErrorTime time.Duration `json:"last_error_time,omitempty"`
|
||||||
LastError string `json:"last_error,omitempty"`
|
LastError string `json:"last_error,omitempty"`
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user