MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / LoadConfig

Function LoadConfig

go/cmd/engine/config.go:47–54  ·  view source on GitHub ↗

LoadConfig parses Config from the process environment, fataling on any parse error.

()

Source from the content-addressed store, hash-verified

45 return cfg, fmt.Errorf("parsing environment: %w", err)
46 }
47 return cfg, nil
48}

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected