MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Set

Method Set

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

Source from the content-addressed store, hash-verified

27}
28
29func (f *FactoryManager) Set(name string, factory IFactory) {
30 f.factory.Set(name, factory)
31}
32
33func (f *FactoryManager) GetClient(name string, config *ClientConfig) (IClientDriver, error) {
34 factory, ok := f.factory.Get(name)

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected