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

Struct IntVar

go/core/pkg/env/var.go:213–216  ·  view source on GitHub ↗

---------- IntVar ---------- IntVar is a registered environment variable that holds an integer value.

Source from the content-addressed store, hash-verified

211
212// IntVar is a registered environment variable that holds an integer value.
213type IntVar struct {
214 v Var
215 defaultValue int
216}
217
218// RegisterIntVar registers an integer environment variable and returns a typed accessor.
219func RegisterIntVar(name string, defaultValue int, description string, component Component) IntVar {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected