MCPcopy
hub / github.com/kagent-dev/kagent / BoolVar

Struct BoolVar

go/core/pkg/env/var.go:165–168  ·  view source on GitHub ↗

---------- BoolVar ---------- BoolVar is a registered environment variable that holds a boolean value.

Source from the content-addressed store, hash-verified

163
164// BoolVar is a registered environment variable that holds a boolean value.
165type BoolVar struct {
166 v Var
167 defaultValue bool
168}
169
170// RegisterBoolVar registers a boolean environment variable and returns a typed accessor.
171func RegisterBoolVar(name string, defaultValue bool, description string, component Component) BoolVar {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected