8 lines
356 B
Go
Raw Normal View History

2020-11-05 19:37:51 +01:00
package wireguard
type Config struct {
2020-12-18 21:54:57 +01:00
DeviceName string `yaml:"device" envconfig:"WG_DEVICE"`
WireGuardConfig string `yaml:"configFile" envconfig:"WG_CONFIG_FILE"` // optional, if set, updates will be written to this file
ManageIPAddresses bool `yaml:"manageIPAddresses" envconfig:"MANAGE_IPS"` // handle ip-address setup of interface
2020-11-05 19:37:51 +01:00
}