MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / CheckConfig

Function CheckConfig

module/strategy/driver/manager.go:45–52  ·  view source on GitHub ↗
(name string, config interface{})

Source from the content-addressed store, hash-verified

43}
44
45func CheckConfig(name string, config interface{}) error {
46 driver, has := manager.GetDriver(name)
47 if !has {
48 return fmt.Errorf("driver %s not found", name)
49 }
50
51 return driver.Check(config)
52}

Callers

nothing calls this directly

Calls 2

GetDriverMethod · 0.80
CheckMethod · 0.65

Tested by

no test coverage detected