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

Method Init

internal/tui/app.go:98–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96}
97
98func (a App) Init() tea.Cmd {
99 if !a.authenticated {
100 return textinput.Blink
101 }
102 cmds := []tea.Cmd{a.dashboard.Init()}
103 if a.logsEnabled {
104 cmds = append(cmds, a.logs.Init())
105 }
106 return tea.Batch(cmds...)
107}
108
109func (a App) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
110 switch msg := msg.(type) {

Callers 2

UpdateMethod · 0.45
initTabIfNeededMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected