wg-portal/internal/wireguard/config.go

7 lines
233 B
Go
Raw Normal View History

2020-11-05 13:37:51 -05:00
package wireguard
type Config struct {
2020-11-09 17:43:57 -05: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
2020-11-05 13:37:51 -05:00
}