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

Struct Base

daemon/pkg/module/module_manager.go:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17type Base struct {
18 sigChan chan int
19 errChan chan error
20 running bool
21 daemonFunc func(sigChann chan int, errChann chan error)
22 wg *sync.WaitGroup
23 ModuleName string
24}
25
26func (m *Base) Run() {
27 if m.IsRunning() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected