View Source Wireguardex.PeerStats (Wireguardex v0.4.0)
PeerStats represent a peer's statistics from the current session.
These are the attributes of a peer that will change over time; to get updated stats re-read the information from the interface.
last_handshake_timeTimestamp of the last handshake/rekey with this peer.rx_bytesNumber of bytes received from this peer.tx_bytesNumber of bytes transmitted to this peer.