MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / connectWithPassword

Method connectWithPassword

internal/tui/app.go:478–484  ·  view source on GitHub ↗
(password string)

Source from the content-addressed store, hash-verified

476}
477
478func (a App) connectWithPassword(password string) tea.Cmd {
479 return func() tea.Msg {
480 a.client.SetSecretKey(password)
481 cfg, errGetConfig := a.client.GetConfig()
482 return authConnectMsg{cfg: cfg, err: errGetConfig}
483 }
484}
485
486// Run starts the TUI application.
487// output specifies where bubbletea renders. If nil, defaults to os.Stdout.

Callers 1

UpdateMethod · 0.95

Calls 2

SetSecretKeyMethod · 0.80
GetConfigMethod · 0.45

Tested by

no test coverage detected