mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 08:16:39 +00:00
chore: wiring startup with the flow [IN PROGRESS]
This commit is contained in:
18
cmd/config.go
Normal file
18
cmd/config.go
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user