aboutsummaryrefslogtreecommitdiffstats
path: root/src/keypair.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/keypair.go')
-rw-r--r--src/keypair.go11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/keypair.go b/src/keypair.go
index 53e123f..0b029ce 100644
--- a/src/keypair.go
+++ b/src/keypair.go
@@ -3,13 +3,16 @@ package main
import (
"crypto/cipher"
"sync"
+ "time"
)
type KeyPair struct {
- recv cipher.AEAD
- recvNonce uint64
- send cipher.AEAD
- sendNonce uint64
+ recv cipher.AEAD
+ recvNonce uint64
+ send cipher.AEAD
+ sendNonce uint64
+ isInitiator bool
+ created time.Time
}
type KeyPairs struct {