feat: wireguard / vproxy configuration
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user