Inital implementation of trie
This commit is contained in:
parent
8ce921987f
commit
ec3d656beb
8 changed files with 325 additions and 239 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"net"
|
||||
"sync"
|
||||
)
|
||||
|
||||
|
|
@ -15,4 +16,5 @@ type Peer struct {
|
|||
mutex sync.RWMutex
|
||||
publicKey NoisePublicKey
|
||||
presharedKey NoiseSymmetricKey
|
||||
endpoint net.IP
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue