feat: wireguard / vproxy configuration

This commit is contained in:
jb
2026-03-11 16:00:26 -03:00
parent 085cda7251
commit c622abf194
10 changed files with 398 additions and 45 deletions
+15
View File
@@ -36,6 +36,21 @@ func (m Model) View() tea.View {
// IP Stuff
case StepIPQuestion:
body = m.viewIPQuestion()
case StepWireguardConfig:
body = m.wireguardForm.View()
helpMsg = formMsg
case StepGenerateWireguardFile:
body = m.viewGenerateFile()
if m.finishedFile && m.configFileError != nil {
helpMsg = anyKeyOutMsg
}
case StepDownloadWireguard:
body = m.viewDownloadImage()
case StepRunWireguard:
body = m.viewDockerRun()
if m.finishedDockerRun && m.dockerRunError != nil {
helpMsg = anyKeyOutMsg
}
// App Config Stuff
case StepServerConfig: