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

Struct configField

internal/driver/config.go:94–101  ·  view source on GitHub ↗

configField contains metadata for a single configuration field.

Source from the content-addressed store, hash-verified

92
93// configField contains metadata for a single configuration field.
94type configField struct {
95 name string // JSON field name/key in variables
96 urlparam string // URL parameter name
97 saved bool // Is field saved in settings?
98 field reflect.StructField // Field in config
99 choices []string // Name Of variables in group
100 defaultValue string // Default value for this field.
101}
102
103var (
104 configFields []configField // Precomputed metadata per config field

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected