MCPcopy Create free account
hub / github.com/kagent-dev/kagent / StringVar

Struct StringVar

go/core/pkg/env/var.go:122–124  ·  view source on GitHub ↗

---------- StringVar ---------- StringVar is a registered environment variable that holds a string value.

Source from the content-addressed store, hash-verified

120
121// StringVar is a registered environment variable that holds a string value.
122type StringVar struct {
123 v Var
124}
125
126// RegisterStringVar registers a string environment variable and returns a typed accessor.
127func RegisterStringVar(name, defaultValue, description string, component Component) StringVar {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected