MCPcopy Create free account
hub / github.com/cortexproject/cortex / main

Function main

tools/query-audit/main.go:24–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24func main() {
25 var conf Config
26 if err := LoadConfig(configFile, &conf); err != nil {
27 log.Fatal(err)
28 }
29
30 err := Run(conf)
31 if err != nil {
32 log.Fatal(err)
33 }
34}
35
36func Run(conf Config) error {
37 ctlAPI, err := NewAPI(conf.Control)

Callers

nothing calls this directly

Calls 2

RunFunction · 0.85
LoadConfigFunction · 0.70

Tested by

no test coverage detected