Move replay into subpackage

This commit is contained in:
Jason A. Donenfeld
2018-05-23 02:32:02 +02:00
parent 0a63188afa
commit 5a2228a5c9
5 changed files with 17 additions and 16 deletions

View File

@@ -7,6 +7,7 @@
package main
import (
"./replay"
"crypto/cipher"
"sync"
"time"
@@ -23,7 +24,7 @@ type Keypair struct {
sendNonce uint64
send cipher.AEAD
receive cipher.AEAD
replayFilter ReplayFilter
replayFilter replay.ReplayFilter
isInitiator bool
created time.Time
localIndex uint32