Newer
Older
wg-portal / internal / wireguard / config.go
@Christoph Haas Christoph Haas on 10 Nov 2020 233 bytes wip: update cfg file
package wireguard

type Config struct {
	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
}