wireguard-go/src/device.go

15 lines
212 B
Go
Raw Normal View History

package main
import (
"sync"
)
type Device struct {
mutex sync.RWMutex
peers map[NoisePublicKey]*Peer
privateKey NoisePrivateKey
publicKey NoisePublicKey
fwMark uint32
listenPort uint16
}