Add environment variables for configuration

This commit is contained in:
Fin Christensen 2022-04-22 14:48:01 +02:00
parent 87b08a8f7c
commit 7088065a2d
7 changed files with 109 additions and 36 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
}