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

Function RegisterFactory

log-driver/factory.go:29–31  ·  view source on GitHub ↗
(name string, factory IFactory)

Source from the content-addressed store, hash-verified

27}
28
29func RegisterFactory(name string, factory IFactory) {
30 defaultFactoryManager.Set(name, factory)
31}
32
33func GetFactory(name string) (IFactory, bool) {
34 return defaultFactoryManager.Get(name)

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected