5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2025-02-28 19:51:34 +00:00

Merge pull request #101 from wstrm/fix-uptime

Uptime is float as time.Seconds returns a float64
This commit is contained in:
Neil Alexander 2020-03-09 23:23:25 +00:00 committed by GitHub
commit f8cbcc9f9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ For each IPv6 address:
- `bytes_recvd` (`uint64`) contains the number of bytes received from that peer - `bytes_recvd` (`uint64`) contains the number of bytes received from that peer
- `endpoint` (`string`) contains the connected IPv4/IPv6 address and port of the peering - `endpoint` (`string`) contains the connected IPv4/IPv6 address and port of the peering
- `port` (`uint8`) contains the local switch port number for that peer - `port` (`uint8`) contains the local switch port number for that peer
- `uptime` (`uint32`) contains the number of seconds since the peer connection was established - `uptime` (`float64`) contains the number of seconds since the peer connection was established
#### `addPeer` #### `addPeer`