Added source verification

This commit is contained in:
Mathias Hall-Andersen
2017-07-08 09:23:10 +02:00
parent ed31e75739
commit 5c1ccbddf0
5 changed files with 115 additions and 44 deletions

View File

@@ -17,8 +17,8 @@ type Peer struct {
keyPairs KeyPairs
handshake Handshake
device *Device
tx_bytes uint64
rx_bytes uint64
txBytes uint64
rxBytes uint64
time struct {
lastSend time.Time // last send message
lastHandshake time.Time // last completed handshake