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

Function Register

module/strategy/driver/manager.go:41–43  ·  view source on GitHub ↗
(driver IStrategyDriver)

Source from the content-addressed store, hash-verified

39}
40
41func Register(driver IStrategyDriver) {
42 manager.AddDriver(driver)
43}
44
45func CheckConfig(name string, config interface{}) error {
46 driver, has := manager.GetDriver(name)

Callers

nothing calls this directly

Calls 1

AddDriverMethod · 0.80

Tested by

no test coverage detected