feat: Implement initial client application with TUI for SSH tunnel management and monitoring.
This commit is contained in:
@@ -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{},
|
||||
|
||||
Reference in New Issue
Block a user