MCPcopy Create free account
hub / github.com/OpenSN-Library/OpenSN-Library / CreateLinkManagerModule

Function CreateLinkManagerModule

daemon/pkg/module/link_module.go:129–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127}
128
129func CreateLinkManagerModule() *LinkModule {
130 LinkParallelLimitChan = make(chan uint8, config.GlobalConfig.App.ParallelNum*8)
131 return &LinkModule{
132 Base{
133 sigChan: make(chan int),
134 errChan: make(chan error),
135 running: false,
136 daemonFunc: linkDaemonFunc,
137 wg: new(sync.WaitGroup),
138 ModuleName: "Link Manager Module",
139 },
140 }
141}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected