MCPcopy Create free account
hub / github.com/google/pprof / configMenuEntry

Struct configMenuEntry

internal/driver/settings.go:73–78  ·  view source on GitHub ↗

configMenuEntry holds information for a single config menu entry.

Source from the content-addressed store, hash-verified

71
72// configMenuEntry holds information for a single config menu entry.
73type configMenuEntry struct {
74 Name string
75 URL string
76 Current bool // Is this the currently selected config?
77 UserConfig bool // Is this a user-provided config?
78}
79
80// configMenu returns a list of items to add to a menu in the web UI.
81func configMenu(fname string, u url.URL) []configMenuEntry {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected