Abstracts database storage & Status page UI (#88)

This commit is contained in:
Georgios Komninos
2021-08-28 15:10:30 +02:00
committed by GitHub
parent 7bb80c0c2e
commit b7c0990dcb
14 changed files with 456 additions and 256 deletions

View File

@@ -11,3 +11,16 @@ var (
EmailContent string
SessionSecret []byte
)
const (
DefaultUsername = "admin"
DefaultPassword = "admin"
DefaultServerAddress = "10.252.1.0/24"
DefaultServerPort = 51820
DefaultDNS = "1.1.1.1"
DefaultMTU = 1450
DefaultPersistentKeepalive = 15
DefaultConfigFilePath = "/etc/wireguard/wg0.conf"
UsernameEnvVar = "WGUI_USERNAME"
PasswordEnvVar = "WGUI_PASSWORD"
)