mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-05-24 00:24:06 +03:00
Add environment variables for configuration (#189)
This commit is contained in:
parent
87b08a8f7c
commit
569eaaee37
7 changed files with 112 additions and 37 deletions
9
model/client_defaults.go
Normal file
9
model/client_defaults.go
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue