diff options
-rw-r--r-- | keypair.go | 2 | ||||
-rw-r--r-- | peer.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -14,10 +14,10 @@ import ( */ type KeyPair struct { + sendNonce uint64 send cipher.AEAD receive cipher.AEAD replayFilter ReplayFilter - sendNonce uint64 isInitiator bool created time.Time localIndex uint32 @@ -13,9 +13,9 @@ const ( ) type Peer struct { + persistentKeepaliveInterval uint64 isRunning AtomicBool mutex sync.RWMutex - persistentKeepaliveInterval uint64 keyPairs KeyPairs handshake Handshake device *Device |