mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
19 lines
383 B
Go
19 lines
383 B
Go
package cmd
|
|
|
|
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
|
|
StunURL string
|
|
TurnURL string
|
|
TurnUser string
|
|
TurnPwd string
|
|
// host:port of the signal server
|
|
SignalAddr string
|
|
WgAddr string
|
|
WgIface string
|
|
}
|