Add environment variables for configuration (#189)

This commit is contained in:
Fin Christensen
2022-04-26 20:35:35 +02:00
committed by GitHub
parent 87b08a8f7c
commit 569eaaee37
7 changed files with 112 additions and 37 deletions

9
model/client_defaults.go Normal file
View File

@@ -0,0 +1,9 @@
package model
// Defaults for creation of new clients used in the templates
type ClientDefaults struct {
AllowedIps []string
ExtraAllowedIps []string
UseServerDNS bool
EnableAfterCreation bool
}