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

Function newLogsTabModel

internal/tui/logs_tab.go:37–44  ·  view source on GitHub ↗
(client *Client, hook *LogHook)

Source from the content-addressed store, hash-verified

35type logLineMsg string
36
37func newLogsTabModel(client *Client, hook *LogHook) logsTabModel {
38 return logsTabModel{
39 client: client,
40 hook: hook,
41 maxLines: 5000,
42 autoScroll: true,
43 }
44}
45
46func (m logsTabModel) Init() tea.Cmd {
47 if m.hook != nil {

Callers 1

NewAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected