wip: update cfg file

This commit is contained in:
Christoph Haas
2020-11-09 23:43:57 +01:00
parent c5cb22829d
commit 556d7bff4b
2 changed files with 26 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
package wireguard
type Config struct {
DeviceName string `yaml:"device" envconfig:"WG_DEVICE"`
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
}