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

Function renderSection

internal/tui/keys_tab.go:373–377  ·  view source on GitHub ↗
(sb *strings.Builder, title string, count int)

Source from the content-addressed store, hash-verified

371}
372
373func renderSection(sb *strings.Builder, title string, count int) {
374 header := fmt.Sprintf("%s (%d)", title, count)
375 sb.WriteString(tableHeaderStyle.Render(" " + header))
376 sb.WriteString("\n")
377}
378
379func renderProviderKeys(sb *strings.Builder, title string, keys []map[string]any) {
380 if len(keys) == 0 {

Callers 2

renderContentMethod · 0.85
renderProviderKeysFunction · 0.85

Calls 1

WriteStringMethod · 0.80

Tested by

no test coverage detected