mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-26 18:07:35 +00:00
Rename latency_ms
to latency
in getPeers
response since it isn't even milliseconds anymore
This commit is contained in:
@@ -31,7 +31,7 @@ type PeerEntry struct {
|
||||
RXRate DataUnit `json:"rate_recvd,omitempty"`
|
||||
TXRate DataUnit `json:"rate_sent,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"`
|
||||
LastError string `json:"last_error,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user