MCPcopy
hub / github.com/42wim/matterbridge / Factory

FuncType Factory

bridge/bridge.go:42–42  ·  view source on GitHub ↗

Factory is the factory function to create a bridge

func(*Config) Bridger

Source from the content-addressed store, hash-verified

40
41// Factory is the factory function to create a bridge
42type Factory func(*Config) Bridger
43
44func New(bridge *config.Bridge) *Bridge {
45 accInfo := strings.Split(bridge.Account, ".")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected