fix: signal key transfer

This commit is contained in:
braginini
2021-04-15 14:57:15 +02:00
parent cb60efef8d
commit 303f955e32
4 changed files with 79 additions and 33 deletions

View File

@@ -1,12 +1,10 @@
package cmd
import "golang.zx2c4.com/wireguard/wgctrl/wgtypes"
type Config struct {
// Wireguard private key of local peer
PrivateKey wgtypes.Key
PrivateKey string
// configured remote peers (Wireguard public keys)
Peers []string
Peers string
StunURL string
TurnURL string
TurnUser string