feat: Implement initial client application with TUI for SSH tunnel management and monitoring.

This commit is contained in:
Jose Luis Montañes Ojados
2026-01-27 03:03:21 +01:00
parent 481f8c431d
commit b5f6f42311
3 changed files with 67 additions and 14 deletions

View File

@@ -68,8 +68,8 @@ type LogMsg string
type MetricMsg int64
type ClearCopiedMsg struct{}
func InitialModel(localPort, serverAddr, authToken string) Model {
c := tunnel.NewClient(serverAddr, localPort, authToken)
func InitialModel(localPort, serverAddr, authToken, hostHeader string) Model {
c := tunnel.NewClient(serverAddr, localPort, authToken, hostHeader)
return Model{
Client: c,
LogLines: []string{},