aboutsummaryrefslogtreecommitdiffstats
path: root/src/device.go
blob: cd0835c1feb877984b5c5fa2dbe74933b1b88a86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package main

import (
	"sync"
)

type Device struct {
	mutex      sync.RWMutex
	peers      map[NoisePublicKey]*Peer
	privateKey NoisePrivateKey
	publicKey  NoisePublicKey
	fwMark     uint32
	listenPort uint16
}