MCPcopy Index your code
hub / github.com/foxcpp/maddy / Add

Method Add

framework/container/lifetime.go:57–63  ·  view source on GitHub ↗
(mod LifetimeModule)

Source from the content-addressed store, hash-verified

55}
56
57func (lt *LifetimeTracker) Add(mod LifetimeModule) {
58 lt.instances = append(lt.instances, &struct {
59 mod LifetimeModule
60 started bool
61 earlyStopped bool
62 }{mod: mod, started: false})
63}
64
65// StartAll calls Start for all registered LifetimeModule instances.
66func (lt *LifetimeTracker) StartAll() error {

Callers 15

moduleReloadFunction · 0.80
RegisterModulesFunction · 0.80
configureInlineModuleFunction · 0.80
DoTestDeliveryNonAtomicFunction · 0.80
DoTestDeliveryErrMetaFunction · 0.80
RewriteBodyMethod · 0.80
NewSessionMethod · 0.80
LogoutMethod · 0.80
RandomMsgFunction · 0.80
setupListenersMethod · 0.80
StartMethod · 0.80
TestSubmissionPrepareFunction · 0.80

Calls

no outgoing calls