mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-02-12 09:51:50 +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
1 changed files with 1 additions and 1 deletions
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue