feat: first project flow

This commit is contained in:
braginini
2021-04-14 14:20:25 +02:00
commit 6b3ba0feaf
23 changed files with 2288 additions and 0 deletions

12
cmd/wiretrustee/config.go Normal file
View File

@@ -0,0 +1,12 @@
package wiretrustee
import "golang.zx2c4.com/wireguard/wgctrl/wgtypes"
type Config struct {
// Wireguard private key of local peer
PrivateKey wgtypes.Key
// configured remote peers (Wireguard public keys)
Peers string
// host:port of the signal server
SignalAddr string
}