summaryrefslogtreecommitdiffhomepage
path: root/src/peer.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-08 09:23:10 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-08 09:23:10 +0200
commit5c1ccbddf0c6fdfd98cb3204c1cd4726862855f2 (patch)
tree69269d6a8ec41134dfdb98c6590fc77e9fdaa64c /src/peer.go
parented31e757392d1f8a907250b19c64b59451c440db (diff)
Added source verification
Diffstat (limited to 'src/peer.go')
-rw-r--r--src/peer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peer.go b/src/peer.go
index e3c8060..fadc43f 100644
--- a/src/peer.go
+++ b/src/peer.go
@@ -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