mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2024-10-07 18:31:58 +02:00
15 lines
212 B
Go
15 lines
212 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"sync"
|
||
|
)
|
||
|
|
||
|
type Device struct {
|
||
|
mutex sync.RWMutex
|
||
|
peers map[NoisePublicKey]*Peer
|
||
|
privateKey NoisePrivateKey
|
||
|
publicKey NoisePublicKey
|
||
|
fwMark uint32
|
||
|
listenPort uint16
|
||
|
}
|