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

Function newConfigTabModel

internal/tui/config_tab.go:49–56  ·  view source on GitHub ↗
(client *Client)

Source from the content-addressed store, hash-verified

47}
48
49func newConfigTabModel(client *Client) configTabModel {
50 ti := textinput.New()
51 ti.CharLimit = 256
52 return configTabModel{
53 client: client,
54 textInput: ti,
55 }
56}
57
58func (m configTabModel) Init() tea.Cmd {
59 return m.fetchConfig

Callers 1

NewAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected