Move replay into subpackage
This commit is contained in:
parent
0a63188afa
commit
5a2228a5c9
5 changed files with 17 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue